Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

css-vendor

Package Overview
Dependencies
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-vendor - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

lib/plugins/color-adjust.js

4

changelog.md

@@ -0,1 +1,5 @@

## 1.0.3 / 2018-07-03
- Fix for dashed property values
## 1.0.3 / 2018-02-15

@@ -2,0 +6,0 @@

1073

dist/css-vendor.js

@@ -10,3 +10,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

root["cssVendor"] = factory();
})(typeof self !== 'undefined' ? self : this, function() {
})(window, function() {
return /******/ (function(modules) { // webpackBootstrap

@@ -50,10 +50,30 @@ /******/ // The module cache

/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, {
/******/ configurable: false,
/******/ enumerable: true,
/******/ get: getter
/******/ });
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules

@@ -74,999 +94,274 @@ /******/ __webpack_require__.n = function(module) {

/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 6);
/******/ return __webpack_require__(__webpack_require__.s = "./src/index.js");
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ (function(module, exports, __webpack_require__) {
/******/ ({
/***/ "./node_modules/is-in-browser/dist/module.js":
/*!***************************************************!*\
!*** ./node_modules/is-in-browser/dist/module.js ***!
\***************************************************/
/*! exports provided: isBrowser, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isBrowser\", function() { return isBrowser; });\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar isBrowser = (typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) === \"object\" && (typeof document === \"undefined\" ? \"undefined\" : _typeof(document)) === 'object' && document.nodeType === 9;\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (isBrowser);\n\n\n//# sourceURL=webpack://cssVendor/./node_modules/is-in-browser/dist/module.js?");
/***/ }),
Object.defineProperty(exports, "__esModule", {
value: true
});
var _isInBrowser = __webpack_require__(2);
var _isInBrowser2 = _interopRequireDefault(_isInBrowser);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var js = ''; /**
* Export javascript style and css style vendor prefixes.
* Based on "transform" support test.
*/
var css = '';
// We should not do anything if required serverside.
if (_isInBrowser2['default']) {
// Order matters. We need to check Webkit the last one because
// other vendors use to add Webkit prefixes to some properties
var jsCssMap = {
Moz: '-moz-',
// IE did it wrong again ...
ms: '-ms-',
O: '-o-',
Webkit: '-webkit-'
};
var _document$createEleme = document.createElement('p'),
style = _document$createEleme.style;
var testProp = 'Transform';
for (var key in jsCssMap) {
if (key + testProp in style) {
js = key;
css = jsCssMap[key];
break;
}
}
// Correctly detect the Edge browser.
if (js === 'Webkit' && 'msHyphens' in style) {
js = 'ms';
css = jsCssMap.ms;
}
}
/**
* Vendor prefix string for the current browser.
*
* @type {{js: String, css: String}}
* @api public
*/
exports['default'] = { js: js, css: css };
/***/ }),
/* 1 */
/***/ "./src/index.js":
/*!**********************!*\
!*** ./src/index.js ***!
\**********************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.supportedValue = exports.supportedProperty = exports.prefix = undefined;\n\nvar _prefix = __webpack_require__(/*! ./prefix */ \"./src/prefix.js\");\n\nvar _prefix2 = _interopRequireDefault(_prefix);\n\nvar _supportedProperty = __webpack_require__(/*! ./supported-property */ \"./src/supported-property.js\");\n\nvar _supportedProperty2 = _interopRequireDefault(_supportedProperty);\n\nvar _supportedValue = __webpack_require__(/*! ./supported-value */ \"./src/supported-value.js\");\n\nvar _supportedValue2 = _interopRequireDefault(_supportedValue);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nexports['default'] = {\n prefix: _prefix2['default'],\n supportedProperty: _supportedProperty2['default'],\n supportedValue: _supportedValue2['default']\n}; /**\n * CSS Vendor prefix detection and property feature testing.\n *\n * @copyright Oleg Slobodskoi 2015\n * @website https://github.com/jsstyles/css-vendor\n * @license MIT\n */\n\nexports.prefix = _prefix2['default'];\nexports.supportedProperty = _supportedProperty2['default'];\nexports.supportedValue = _supportedValue2['default'];\n\n//# sourceURL=webpack://cssVendor/./src/index.js?");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports['default'] = pascalize;
var _camelize = __webpack_require__(3);
var _camelize2 = _interopRequireDefault(_camelize);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
/**
* Convert dash separated strings to pascal cased.
*
* @param {String} str
* @return {String}
*/
function pascalize(str) {
return (0, _camelize2['default'])('-' + str);
}
/***/ }),
/* 2 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isBrowser", function() { return isBrowser; });
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
var isBrowser = (typeof window === "undefined" ? "undefined" : _typeof(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof(document)) === 'object' && document.nodeType === 9;
/* harmony default export */ __webpack_exports__["default"] = (isBrowser);
/***/ }),
/* 3 */
/***/ "./src/plugins/appearence.js":
/*!***********************************!*\
!*** ./src/plugins/appearence.js ***!
\***********************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _prefix = __webpack_require__(/*! ../prefix */ \"./src/prefix.js\");\n\nvar _prefix2 = _interopRequireDefault(_prefix);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n// Support old appearance props syntax.\n// https://caniuse.com/#search=appearance\nexports['default'] = {\n noPrefill: ['appearance'],\n supportedProperty: function supportedProperty(prop) {\n if (prop !== 'appearance') return false;\n if (_prefix2['default'].js === 'ms') return '-webkit-' + prop;\n return _prefix2['default'].css + prop;\n }\n};\n\n//# sourceURL=webpack://cssVendor/./src/plugins/appearence.js?");
/***/ }),
Object.defineProperty(exports, "__esModule", {
value: true
});
exports['default'] = camelize;
var regExp = /[-\s]+(.)?/g;
/**
* Convert dash separated strings to camel cased.
*
* @param {String} str
* @return {String}
*/
function toUpper(match, c) {
return c ? c.toUpperCase() : '';
}
function camelize(str) {
return str.replace(regExp, toUpper);
}
/***/ }),
/* 4 */
/***/ "./src/plugins/break-props-old.js":
/*!****************************************!*\
!*** ./src/plugins/break-props-old.js ***!
\****************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _prefix = __webpack_require__(/*! ../prefix */ \"./src/prefix.js\");\n\nvar _prefix2 = _interopRequireDefault(_prefix);\n\nvar _pascalize = __webpack_require__(/*! ../utils/pascalize */ \"./src/utils/pascalize.js\");\n\nvar _pascalize2 = _interopRequireDefault(_pascalize);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n// Support old break-* props syntax.\n// https://caniuse.com/#search=multicolumn\n// https://github.com/postcss/autoprefixer/issues/491\n// https://github.com/postcss/autoprefixer/issues/177\nexports['default'] = {\n supportedProperty: function supportedProperty(prop, style) {\n if (!/^break-/.test(prop)) return false;\n if (_prefix2['default'].js === 'Webkit') {\n var jsProp = 'WebkitColumn' + (0, _pascalize2['default'])(prop);\n return jsProp in style ? _prefix2['default'].css + 'column-' + prop : false;\n }\n if (_prefix2['default'].js === 'Moz') {\n var _jsProp = 'page' + (0, _pascalize2['default'])(prop);\n return _jsProp in style ? 'page-' + prop : false;\n }\n return false;\n }\n};\n\n//# sourceURL=webpack://cssVendor/./src/plugins/break-props-old.js?");
/***/ }),
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.supportedValue = exports.supportedProperty = exports.prefix = undefined;
var _prefix = __webpack_require__(0);
var _prefix2 = _interopRequireDefault(_prefix);
var _supportedProperty = __webpack_require__(5);
var _supportedProperty2 = _interopRequireDefault(_supportedProperty);
var _supportedValue = __webpack_require__(23);
var _supportedValue2 = _interopRequireDefault(_supportedValue);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
exports['default'] = {
prefix: _prefix2['default'],
supportedProperty: _supportedProperty2['default'],
supportedValue: _supportedValue2['default']
}; /**
* CSS Vendor prefix detection and property feature testing.
*
* @copyright Oleg Slobodskoi 2015
* @website https://github.com/jsstyles/css-vendor
* @license MIT
*/
exports.prefix = _prefix2['default'];
exports.supportedProperty = _supportedProperty2['default'];
exports.supportedValue = _supportedValue2['default'];
/***/ }),
/* 5 */
/***/ "./src/plugins/color-adjust.js":
/*!*************************************!*\
!*** ./src/plugins/color-adjust.js ***!
\*************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _prefix = __webpack_require__(/*! ../prefix */ \"./src/prefix.js\");\n\nvar _prefix2 = _interopRequireDefault(_prefix);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n// Support old color-adjust prop syntax.\n// https://caniuse.com/#search=color-adjust\nexports['default'] = {\n noPrefill: ['color-adjust'],\n supportedProperty: function supportedProperty(prop) {\n if (prop !== 'color-adjust') return false;\n if (_prefix2['default'].js === 'Webkit') return _prefix2['default'].css + 'print-' + prop;\n return prop;\n }\n};\n\n//# sourceURL=webpack://cssVendor/./src/plugins/color-adjust.js?");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports['default'] = supportedProperty;
var _isInBrowser = __webpack_require__(2);
var _isInBrowser2 = _interopRequireDefault(_isInBrowser);
var _plugins = __webpack_require__(7);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var el = void 0;
var cache = {};
if (_isInBrowser2['default']) {
el = document.createElement('p');
/**
* We test every property on vendor prefix requirement.
* Once tested, result is cached. It gives us up to 70% perf boost.
* http://jsperf.com/element-style-object-access-vs-plain-object
*
* Prefill cache with known css properties to reduce amount of
* properties we need to feature test at runtime.
* http://davidwalsh.name/vendor-prefix
*/
var computed = window.getComputedStyle(document.documentElement, '');
for (var key in computed) {
// eslint-disable-next-line no-restricted-globals
if (!isNaN(key)) cache[computed[key]] = computed[key];
}
// Properties that cannot be correctly detected using the
// cache prefill method.
_plugins.noPrefill.forEach(function (x) {
return delete cache[x];
});
}
/**
* Test if a property is supported, returns supported property with vendor
* prefix if required. Returns `false` if not supported.
*
* @param {String} prop dash separated
* @param {Object} [options]
* @return {String|Boolean}
* @api public
*/
function supportedProperty(prop) {
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
// For server-side rendering.
if (!el) return prop;
// We have not tested this prop yet, lets do the test.
if ("development" !== 'benchmark' && cache[prop] != null) {
return cache[prop];
}
if (prop === 'transition' || prop === 'transform') {
options[prop] = prop in el.style;
}
for (var i = 0; i < _plugins.propertyDetectors.length; i++) {
cache[prop] = _plugins.propertyDetectors[i](prop, el.style, options);
if (cache[prop]) break;
}
// Firefox can even throw an error for invalid properties, e.g. "0"
try {
el.style[prop] = '';
} catch (err) {
return false;
}
return cache[prop];
}
/***/ }),
/* 6 */
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(4);
module.exports = __webpack_require__(4);
/***/ }),
/* 7 */
/***/ "./src/plugins/flex-2009.js":
/*!**********************************!*\
!*** ./src/plugins/flex-2009.js ***!
\**********************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _prefix = __webpack_require__(/*! ../prefix */ \"./src/prefix.js\");\n\nvar _prefix2 = _interopRequireDefault(_prefix);\n\nvar _pascalize = __webpack_require__(/*! ../utils/pascalize */ \"./src/utils/pascalize.js\");\n\nvar _pascalize2 = _interopRequireDefault(_pascalize);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar propMap = {\n flex: 'box-flex',\n 'flex-grow': 'box-flex',\n 'flex-direction': ['box-orient', 'box-direction'],\n order: 'box-ordinal-group',\n 'align-items': 'box-align',\n 'flex-flow': ['box-orient', 'box-direction'],\n 'justify-content': 'box-pack'\n};\n\nvar propKeys = Object.keys(propMap);\n\nvar prefixCss = function prefixCss(p) {\n return _prefix2['default'].css + p;\n};\n\n// Support old flex spec from 2009.\nexports['default'] = {\n supportedProperty: function supportedProperty(prop, style, _ref) {\n var multiple = _ref.multiple;\n\n if (propKeys.indexOf(prop) > -1) {\n var newProp = propMap[prop];\n if (!Array.isArray(newProp)) {\n return _prefix2['default'].js + (0, _pascalize2['default'])(newProp) in style ? _prefix2['default'].css + newProp : false;\n }\n if (!multiple) return false;\n for (var i = 0; i < newProp.length; i++) {\n if (!(_prefix2['default'].js + (0, _pascalize2['default'])(newProp[0]) in style)) {\n return false;\n }\n }\n return newProp.map(prefixCss);\n }\n return false;\n }\n};\n\n//# sourceURL=webpack://cssVendor/./src/plugins/flex-2009.js?");
/***/ }),
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.noPrefill = exports.propertyDetectors = undefined;
var _appearence = __webpack_require__(8);
var _appearence2 = _interopRequireDefault(_appearence);
var _transform = __webpack_require__(9);
var _transform2 = _interopRequireDefault(_transform);
var _transition = __webpack_require__(10);
var _transition2 = _interopRequireDefault(_transition);
var _scrollSnap = __webpack_require__(11);
var _scrollSnap2 = _interopRequireDefault(_scrollSnap);
var _mask = __webpack_require__(12);
var _mask2 = _interopRequireDefault(_mask);
var _writingMode = __webpack_require__(13);
var _writingMode2 = _interopRequireDefault(_writingMode);
var _clipPath = __webpack_require__(14);
var _clipPath2 = _interopRequireDefault(_clipPath);
var _filter = __webpack_require__(15);
var _filter2 = _interopRequireDefault(_filter);
var _unprefixed = __webpack_require__(16);
var _unprefixed2 = _interopRequireDefault(_unprefixed);
var _prefixed = __webpack_require__(17);
var _prefixed2 = _interopRequireDefault(_prefixed);
var _inlineLogicalOld = __webpack_require__(18);
var _inlineLogicalOld2 = _interopRequireDefault(_inlineLogicalOld);
var _maskBorderOld = __webpack_require__(19);
var _maskBorderOld2 = _interopRequireDefault(_maskBorderOld);
var _breakPropsOld = __webpack_require__(20);
var _breakPropsOld2 = _interopRequireDefault(_breakPropsOld);
var _flex = __webpack_require__(21);
var _flex2 = _interopRequireDefault(_flex);
var _flex3 = __webpack_require__(22);
var _flex4 = _interopRequireDefault(_flex3);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
var plugins = [_appearence2['default'], _transform2['default'], _transition2['default'], _scrollSnap2['default'], _mask2['default'], _writingMode2['default'], _clipPath2['default'], _filter2['default'], _unprefixed2['default'], _prefixed2['default'], _flex4['default'], _flex2['default'], _inlineLogicalOld2['default'], _maskBorderOld2['default'], _breakPropsOld2['default']];
var propertyDetectors = exports.propertyDetectors = plugins.filter(function (p) {
return p.supportedProperty;
}).map(function (p) {
return p.supportedProperty;
});
var noPrefill = exports.noPrefill = plugins.filter(function (p) {
return p.noPrefill;
}).reduce(function (a, p) {
a.push.apply(a, _toConsumableArray(p.noPrefill));
return a;
}, []);
/***/ }),
/* 8 */
/***/ "./src/plugins/flex-2012.js":
/*!**********************************!*\
!*** ./src/plugins/flex-2012.js ***!
\**********************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _prefix = __webpack_require__(/*! ../prefix */ \"./src/prefix.js\");\n\nvar _prefix2 = _interopRequireDefault(_prefix);\n\nvar _pascalize = __webpack_require__(/*! ../utils/pascalize */ \"./src/utils/pascalize.js\");\n\nvar _pascalize2 = _interopRequireDefault(_pascalize);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar propMap = {\n 'flex-grow': 'flex-positive',\n 'flex-shrink': 'flex-negative',\n 'flex-basis': 'flex-preferred-size',\n 'justify-content': 'flex-pack',\n order: 'flex-order',\n 'align-items': 'flex-align',\n 'align-content': 'flex-line-pack'\n // 'align-self' is handled by 'align-self' plugin.\n\n\n // Support old flex spec from 2012.\n};exports['default'] = {\n supportedProperty: function supportedProperty(prop, style) {\n var newProp = propMap[prop];\n if (!newProp) return false;\n return _prefix2['default'].js + (0, _pascalize2['default'])(newProp) in style ? _prefix2['default'].css + newProp : false;\n }\n};\n\n//# sourceURL=webpack://cssVendor/./src/plugins/flex-2012.js?");
/***/ }),
Object.defineProperty(exports, "__esModule", {
value: true
});
var _prefix = __webpack_require__(0);
var _prefix2 = _interopRequireDefault(_prefix);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
exports['default'] = {
noPrefill: ['appearance'],
supportedProperty: function supportedProperty(prop) {
if (prop !== 'appearance') return false;
if (_prefix2['default'].js === 'ms') {
return '-webkit-' + prop;
}
return _prefix2['default'].css + prop;
}
};
/***/ }),
/* 9 */
/***/ "./src/plugins/index.js":
/*!******************************!*\
!*** ./src/plugins/index.js ***!
\******************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.noPrefill = exports.propertyDetectors = undefined;\n\nvar _appearence = __webpack_require__(/*! ./appearence */ \"./src/plugins/appearence.js\");\n\nvar _appearence2 = _interopRequireDefault(_appearence);\n\nvar _breakPropsOld = __webpack_require__(/*! ./break-props-old */ \"./src/plugins/break-props-old.js\");\n\nvar _breakPropsOld2 = _interopRequireDefault(_breakPropsOld);\n\nvar _colorAdjust = __webpack_require__(/*! ./color-adjust */ \"./src/plugins/color-adjust.js\");\n\nvar _colorAdjust2 = _interopRequireDefault(_colorAdjust);\n\nvar _flex = __webpack_require__(/*! ./flex-2009 */ \"./src/plugins/flex-2009.js\");\n\nvar _flex2 = _interopRequireDefault(_flex);\n\nvar _flex3 = __webpack_require__(/*! ./flex-2012 */ \"./src/plugins/flex-2012.js\");\n\nvar _flex4 = _interopRequireDefault(_flex3);\n\nvar _inlineLogicalOld = __webpack_require__(/*! ./inline-logical-old */ \"./src/plugins/inline-logical-old.js\");\n\nvar _inlineLogicalOld2 = _interopRequireDefault(_inlineLogicalOld);\n\nvar _mask = __webpack_require__(/*! ./mask */ \"./src/plugins/mask.js\");\n\nvar _mask2 = _interopRequireDefault(_mask);\n\nvar _prefixed = __webpack_require__(/*! ./prefixed */ \"./src/plugins/prefixed.js\");\n\nvar _prefixed2 = _interopRequireDefault(_prefixed);\n\nvar _scrollSnap = __webpack_require__(/*! ./scroll-snap */ \"./src/plugins/scroll-snap.js\");\n\nvar _scrollSnap2 = _interopRequireDefault(_scrollSnap);\n\nvar _overscrollBehavior = __webpack_require__(/*! ./overscroll-behavior */ \"./src/plugins/overscroll-behavior.js\");\n\nvar _overscrollBehavior2 = _interopRequireDefault(_overscrollBehavior);\n\nvar _transform = __webpack_require__(/*! ./transform */ \"./src/plugins/transform.js\");\n\nvar _transform2 = _interopRequireDefault(_transform);\n\nvar _transition = __webpack_require__(/*! ./transition */ \"./src/plugins/transition.js\");\n\nvar _transition2 = _interopRequireDefault(_transition);\n\nvar _unprefixed = __webpack_require__(/*! ./unprefixed */ \"./src/plugins/unprefixed.js\");\n\nvar _unprefixed2 = _interopRequireDefault(_unprefixed);\n\nvar _writingMode = __webpack_require__(/*! ./writing-mode */ \"./src/plugins/writing-mode.js\");\n\nvar _writingMode2 = _interopRequireDefault(_writingMode);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\n// Please, keep order plugins:\n// plugins = [\n// ...plugins,\n// breakPropsOld,\n// inlineLogicalOld,\n// unprefixed,\n// prefixed,\n// scrollSnap,\n// scrollChaining,\n// flex2012,\n// flex2009\n// ]\n// Plugins without 'noPrefill' value, going last.\n// 'flex-*' plugins should be at the bottom.\n// 'flex2009' going after 'flex2012'.\n// 'prefixed' going after 'unprefixed'\nvar plugins = [_appearence2['default'], _transform2['default'], _transition2['default'], _mask2['default'], _writingMode2['default'], _colorAdjust2['default'], _breakPropsOld2['default'], _inlineLogicalOld2['default'], _unprefixed2['default'], _prefixed2['default'], _scrollSnap2['default'], _overscrollBehavior2['default'], _flex4['default'], _flex2['default']];\n\nvar propertyDetectors = exports.propertyDetectors = plugins.filter(function (p) {\n return p.supportedProperty;\n}).map(function (p) {\n return p.supportedProperty;\n});\n\nvar noPrefill = exports.noPrefill = plugins.filter(function (p) {\n return p.noPrefill;\n}).reduce(function (a, p) {\n a.push.apply(a, _toConsumableArray(p.noPrefill));\n return a;\n}, []);\n\n//# sourceURL=webpack://cssVendor/./src/plugins/index.js?");
/***/ }),
Object.defineProperty(exports, "__esModule", {
value: true
});
var _prefix = __webpack_require__(0);
var _prefix2 = _interopRequireDefault(_prefix);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
exports['default'] = {
noPrefill: ['transform'],
supportedProperty: function supportedProperty(prop, style, options) {
if (prop !== 'transform') return false;
if (options.transform) {
return prop;
}
return _prefix2['default'].css + prop;
}
};
/***/ }),
/* 10 */
/***/ "./src/plugins/inline-logical-old.js":
/*!*******************************************!*\
!*** ./src/plugins/inline-logical-old.js ***!
\*******************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _prefix = __webpack_require__(/*! ../prefix */ \"./src/prefix.js\");\n\nvar _prefix2 = _interopRequireDefault(_prefix);\n\nvar _pascalize = __webpack_require__(/*! ../utils/pascalize */ \"./src/utils/pascalize.js\");\n\nvar _pascalize2 = _interopRequireDefault(_pascalize);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n// Support old inline-logical syntax.\n// See https://github.com/postcss/autoprefixer/issues/324.\nexports['default'] = {\n supportedProperty: function supportedProperty(prop, style) {\n if (!/^(border|margin|padding)-inline/.test(prop)) return false;\n if (_prefix2['default'].js === 'Moz') return prop;\n var newProp = prop.replace('-inline', '');\n return _prefix2['default'].js + (0, _pascalize2['default'])(newProp) in style ? _prefix2['default'].css + newProp : false;\n }\n};\n\n//# sourceURL=webpack://cssVendor/./src/plugins/inline-logical-old.js?");
/***/ }),
Object.defineProperty(exports, "__esModule", {
value: true
});
var _prefix = __webpack_require__(0);
var _prefix2 = _interopRequireDefault(_prefix);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
exports['default'] = {
noPrefill: ['transition'],
supportedProperty: function supportedProperty(prop, style, options) {
if (prop !== 'transition') return false;
if (options.transition) {
return prop;
}
return _prefix2['default'].css + prop;
}
};
/***/ }),
/* 11 */
/***/ "./src/plugins/mask.js":
/*!*****************************!*\
!*** ./src/plugins/mask.js ***!
\*****************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _prefix = __webpack_require__(/*! ../prefix */ \"./src/prefix.js\");\n\nvar _prefix2 = _interopRequireDefault(_prefix);\n\nvar _pascalize = __webpack_require__(/*! ../utils/pascalize */ \"./src/utils/pascalize.js\");\n\nvar _pascalize2 = _interopRequireDefault(_pascalize);\n\nvar _camelize = __webpack_require__(/*! ../utils/camelize */ \"./src/utils/camelize.js\");\n\nvar _camelize2 = _interopRequireDefault(_camelize);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n// Mask property support cannot detect directly in WebKit browsers,\n// but we can use a longhand property instead.\n// https://caniuse.com/#search=mask\nexports['default'] = {\n noPrefill: ['mask'],\n supportedProperty: function supportedProperty(prop, style) {\n if (!/^mask/.test(prop)) return false;\n if (_prefix2['default'].js === 'Webkit') {\n var longhand = 'mask-image';\n if ((0, _camelize2['default'])(longhand) in style) {\n return prop;\n }\n if (_prefix2['default'].js + (0, _pascalize2['default'])(longhand) in style) {\n return _prefix2['default'].css + prop;\n }\n }\n return prop;\n }\n};\n\n//# sourceURL=webpack://cssVendor/./src/plugins/mask.js?");
/***/ }),
Object.defineProperty(exports, "__esModule", {
value: true
});
var _prefix = __webpack_require__(0);
var _prefix2 = _interopRequireDefault(_prefix);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
exports['default'] = {
supportedProperty: function supportedProperty(prop) {
if (prop.substring(0, 11) !== 'scroll-snap') return false;
if (_prefix2['default'].js === 'ms') {
return '' + _prefix2['default'].css + prop;
}
return prop;
}
};
/***/ }),
/* 12 */
/***/ "./src/plugins/overscroll-behavior.js":
/*!********************************************!*\
!*** ./src/plugins/overscroll-behavior.js ***!
\********************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _prefix = __webpack_require__(/*! ../prefix */ \"./src/prefix.js\");\n\nvar _prefix2 = _interopRequireDefault(_prefix);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n// Support overscroll-behavior props syntax.\n// https://caniuse.com/#search=overscroll-behavior\nexports['default'] = {\n supportedProperty: function supportedProperty(prop) {\n if (prop !== 'overscroll-behavior') return false;\n if (_prefix2['default'].js === 'ms') {\n return _prefix2['default'].css + 'scroll-chaining';\n }\n return prop;\n }\n};\n\n//# sourceURL=webpack://cssVendor/./src/plugins/overscroll-behavior.js?");
/***/ }),
Object.defineProperty(exports, "__esModule", {
value: true
});
var _prefix = __webpack_require__(0);
var _prefix2 = _interopRequireDefault(_prefix);
var _pascalize = __webpack_require__(1);
var _pascalize2 = _interopRequireDefault(_pascalize);
var _camelize = __webpack_require__(3);
var _camelize2 = _interopRequireDefault(_camelize);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
// mask property support cannot be directly detected in webkit browsers,
// but we can use a longhand property instead.
exports['default'] = {
noPrefill: ['mask'],
supportedProperty: function supportedProperty(prop, style) {
if (!/^mask/.test(prop)) return false;
if (_prefix2['default'].js === 'Webkit') {
var longhand = 'mask-image';
if ((0, _camelize2['default'])(longhand) in style) {
return prop;
}
if (_prefix2['default'].js + (0, _pascalize2['default'])(longhand) in style) {
return _prefix2['default'].css + prop;
}
}
return prop;
}
};
/***/ }),
/* 13 */
/***/ "./src/plugins/prefixed.js":
/*!*********************************!*\
!*** ./src/plugins/prefixed.js ***!
\*********************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _prefix = __webpack_require__(/*! ../prefix */ \"./src/prefix.js\");\n\nvar _prefix2 = _interopRequireDefault(_prefix);\n\nvar _pascalize = __webpack_require__(/*! ../utils/pascalize */ \"./src/utils/pascalize.js\");\n\nvar _pascalize2 = _interopRequireDefault(_pascalize);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n// Test if property is supported with vendor prefix.\nexports['default'] = {\n supportedProperty: function supportedProperty(prop, style) {\n var pascalized = (0, _pascalize2['default'])(prop);\n if (_prefix2['default'].js + pascalized in style) return _prefix2['default'].css + prop;\n // Try webkit fallback.\n if (_prefix2['default'].js !== 'Webkit' && 'Webkit' + pascalized in style) return prop;\n return false;\n }\n};\n\n//# sourceURL=webpack://cssVendor/./src/plugins/prefixed.js?");
/***/ }),
Object.defineProperty(exports, "__esModule", {
value: true
});
var _prefix = __webpack_require__(0);
var _prefix2 = _interopRequireDefault(_prefix);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
// writing-mode has basic support in webkit without prefix for svg documents
// but in other cases it might need a prefix. We can resort to value testing.
// See https://developer.mozilla.org/de/docs/Web/CSS/writing-mode
exports['default'] = {
noPrefill: ['writing-mode'],
supportedProperty: function supportedProperty(prop) {
if (prop !== 'writing-mode') return false;
if (_prefix2['default'].js === 'Webkit' || _prefix2['default'].js === 'ms') {
return _prefix2['default'].css + prop;
}
return prop;
}
};
/***/ }),
/* 14 */
/***/ "./src/plugins/scroll-snap.js":
/*!************************************!*\
!*** ./src/plugins/scroll-snap.js ***!
\************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _prefix = __webpack_require__(/*! ../prefix */ \"./src/prefix.js\");\n\nvar _prefix2 = _interopRequireDefault(_prefix);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n// Support scroll-snap props syntax.\n// https://caniuse.com/#search=scroll-snap\nexports['default'] = {\n supportedProperty: function supportedProperty(prop) {\n if (prop.substring(0, 11) !== 'scroll-snap') return false;\n if (_prefix2['default'].js === 'ms') {\n return '' + _prefix2['default'].css + prop;\n }\n return prop;\n }\n};\n\n//# sourceURL=webpack://cssVendor/./src/plugins/scroll-snap.js?");
/***/ }),
Object.defineProperty(exports, "__esModule", {
value: true
});
var _prefix = __webpack_require__(0);
var _prefix2 = _interopRequireDefault(_prefix);
var _pascalize = __webpack_require__(1);
var _pascalize2 = _interopRequireDefault(_pascalize);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
// clip-path has basic support in webkit without prefix for svg documents
// but in other cases it might need a prefix. We can resort to value testing.
// See https://developer.mozilla.org/de/docs/Web/CSS/clip-path
exports['default'] = {
noPrefill: ['clip-path'],
supportedProperty: function supportedProperty(prop, style) {
if (prop === 'clip-path' && _prefix2['default'].js === 'Webkit') {
style.clipPath = 'inset(10px 20px 30px 40px)';
var value = style.clipPath;
style.clipPath = '';
if (value) return prop;
if (_prefix2['default'].js + (0, _pascalize2['default'])(prop) in style) {
return _prefix2['default'].css + prop;
}
}
return false;
}
};
/***/ }),
/* 15 */
/***/ "./src/plugins/transform.js":
/*!**********************************!*\
!*** ./src/plugins/transform.js ***!
\**********************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _prefix = __webpack_require__(/*! ../prefix */ \"./src/prefix.js\");\n\nvar _prefix2 = _interopRequireDefault(_prefix);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n// Support transform prop syntax.\n// https://caniuse.com/#search=transform\nexports['default'] = {\n noPrefill: ['transform'],\n supportedProperty: function supportedProperty(prop, style, options) {\n if (prop !== 'transform') return false;\n if (options.transform) {\n return prop;\n }\n return _prefix2['default'].css + prop;\n }\n};\n\n//# sourceURL=webpack://cssVendor/./src/plugins/transform.js?");
/***/ }),
Object.defineProperty(exports, "__esModule", {
value: true
});
var _prefix = __webpack_require__(0);
var _prefix2 = _interopRequireDefault(_prefix);
var _pascalize = __webpack_require__(1);
var _pascalize2 = _interopRequireDefault(_pascalize);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
// filter has basic support in webkit without prefix for svg documents
// but in other cases it might need a prefix. We can resort to value testing.
// See https://developer.mozilla.org/de/docs/Web/CSS/filter
exports['default'] = {
noPrefill: ['filter'],
supportedProperty: function supportedProperty(prop, style) {
if (prop === 'filter' && _prefix2['default'].js === 'Webkit') {
style.filter = 'grayscale(50%)';
var value = style.filter;
style.filter = '';
if (value) return prop;
if (_prefix2['default'].js + (0, _pascalize2['default'])(prop) in style) {
return _prefix2['default'].css + prop;
}
}
return false;
}
};
/***/ }),
/* 16 */
/***/ "./src/plugins/transition.js":
/*!***********************************!*\
!*** ./src/plugins/transition.js ***!
\***********************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _prefix = __webpack_require__(/*! ../prefix */ \"./src/prefix.js\");\n\nvar _prefix2 = _interopRequireDefault(_prefix);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n// Support transition prop syntax.\n// https://caniuse.com/#search=transition\nexports['default'] = {\n noPrefill: ['transition'],\n supportedProperty: function supportedProperty(prop, style, options) {\n if (prop !== 'transition') return false;\n if (options.transition) {\n return prop;\n }\n return _prefix2['default'].css + prop;\n }\n};\n\n//# sourceURL=webpack://cssVendor/./src/plugins/transition.js?");
/***/ }),
Object.defineProperty(exports, "__esModule", {
value: true
});
var _camelize = __webpack_require__(3);
var _camelize2 = _interopRequireDefault(_camelize);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
// Test if property is supported as it is.
// Camelization is required because we can't test using
// css syntax for e.g. in FF.
exports['default'] = {
supportedProperty: function supportedProperty(prop, style) {
return (0, _camelize2['default'])(prop) in style ? prop : false;
}
};
/***/ }),
/* 17 */
/***/ "./src/plugins/unprefixed.js":
/*!***********************************!*\
!*** ./src/plugins/unprefixed.js ***!
\***********************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _camelize = __webpack_require__(/*! ../utils/camelize */ \"./src/utils/camelize.js\");\n\nvar _camelize2 = _interopRequireDefault(_camelize);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n// Test if a property supported as it is.\n// Camelization is required because we can't test using.\n// CSS syntax for e.g. in FF.\nexports['default'] = {\n supportedProperty: function supportedProperty(prop, style) {\n return (0, _camelize2['default'])(prop) in style ? prop : false;\n }\n};\n\n//# sourceURL=webpack://cssVendor/./src/plugins/unprefixed.js?");
/***/ }),
Object.defineProperty(exports, "__esModule", {
value: true
});
var _prefix = __webpack_require__(0);
var _prefix2 = _interopRequireDefault(_prefix);
var _pascalize = __webpack_require__(1);
var _pascalize2 = _interopRequireDefault(_pascalize);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
// Test if property is supported with vendor prefix.
exports['default'] = {
supportedProperty: function supportedProperty(prop, style) {
var pascalized = (0, _pascalize2['default'])(prop);
if (_prefix2['default'].js + pascalized in style) return _prefix2['default'].css + prop;
// Try webkit fallback.
if (_prefix2['default'].js !== 'Webkit' && 'Webkit' + pascalized in style) return prop;
return false;
}
};
/***/ }),
/* 18 */
/***/ "./src/plugins/writing-mode.js":
/*!*************************************!*\
!*** ./src/plugins/writing-mode.js ***!
\*************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _prefix = __webpack_require__(/*! ../prefix */ \"./src/prefix.js\");\n\nvar _prefix2 = _interopRequireDefault(_prefix);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n// Support writing-mode prop syntax.\n// https://caniuse.com/#search=writing-mode\nexports['default'] = {\n noPrefill: ['writing-mode'],\n supportedProperty: function supportedProperty(prop) {\n if (prop !== 'writing-mode') return false;\n if (_prefix2['default'].js === 'Webkit' || _prefix2['default'].js === 'ms') {\n return _prefix2['default'].css + prop;\n }\n return prop;\n }\n};\n\n//# sourceURL=webpack://cssVendor/./src/plugins/writing-mode.js?");
/***/ }),
Object.defineProperty(exports, "__esModule", {
value: true
});
var _prefix = __webpack_require__(0);
var _prefix2 = _interopRequireDefault(_prefix);
var _pascalize = __webpack_require__(1);
var _pascalize2 = _interopRequireDefault(_pascalize);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
// Support old inline-logical syntax.
// See https://github.com/postcss/autoprefixer/issues/324.
exports['default'] = {
supportedProperty: function supportedProperty(prop, style) {
if (!/^(border|margin|padding)-inline/.test(prop)) return false;
var newProp = prop.replace('-inline', '');
return _prefix2['default'].js + (0, _pascalize2['default'])(newProp) in style ? _prefix2['default'].css + newProp : false;
}
};
/***/ }),
/* 19 */
/***/ "./src/prefix.js":
/*!***********************!*\
!*** ./src/prefix.js ***!
\***********************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _isInBrowser = __webpack_require__(/*! is-in-browser */ \"./node_modules/is-in-browser/dist/module.js\");\n\nvar _isInBrowser2 = _interopRequireDefault(_isInBrowser);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar js = ''; // Export javascript style and css style vendor prefixes.\n// Based on \"transform\" support test.\n\nvar css = '';\n\n// We should not do anything if required serverside.\nif (_isInBrowser2['default']) {\n // Order matters. We need to check Webkit the last one because\n // other vendors use to add Webkit prefixes to some properties\n var jsCssMap = {\n Moz: '-moz-',\n ms: '-ms-',\n O: '-o-',\n Webkit: '-webkit-'\n };\n\n var _document$createEleme = document.createElement('p'),\n style = _document$createEleme.style;\n\n var testProp = 'Transform';\n\n for (var key in jsCssMap) {\n if (key + testProp in style) {\n js = key;\n css = jsCssMap[key];\n break;\n }\n }\n\n // Correctly detect the Edge browser.\n if (js === 'Webkit' && 'msHyphens' in style) {\n js = 'ms';\n css = jsCssMap.ms;\n }\n}\n\n/**\n * Vendor prefix string for the current browser.\n *\n * @type {{js: String, css: String}}\n * @api public\n */\nexports['default'] = { js: js, css: css };\n\n//# sourceURL=webpack://cssVendor/./src/prefix.js?");
/***/ }),
Object.defineProperty(exports, "__esModule", {
value: true
});
var _prefix = __webpack_require__(0);
var _prefix2 = _interopRequireDefault(_prefix);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
// Support old mask-border syntax.
// See https://github.com/postcss/autoprefixer/issues/502.
exports['default'] = {
supportedProperty: function supportedProperty(prop) {
if (!/^mask-border/.test(prop)) return false;
var newProp = prop.replace(/^mask-border/, 'mask-box-image');
if (_prefix2['default'].js === 'Webkit') {
return _prefix2['default'].css + newProp;
}
return prop;
}
};
/***/ }),
/* 20 */
/***/ "./src/supported-property.js":
/*!***********************************!*\
!*** ./src/supported-property.js ***!
\***********************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports['default'] = supportedProperty;\n\nvar _isInBrowser = __webpack_require__(/*! is-in-browser */ \"./node_modules/is-in-browser/dist/module.js\");\n\nvar _isInBrowser2 = _interopRequireDefault(_isInBrowser);\n\nvar _plugins = __webpack_require__(/*! ./plugins */ \"./src/plugins/index.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar el = void 0;\nvar cache = {};\n\nif (_isInBrowser2['default']) {\n el = document.createElement('p');\n\n // We test every property on vendor prefix requirement.\n // Once tested, result is cached. It gives us up to 70% perf boost.\n // http://jsperf.com/element-style-object-access-vs-plain-object\n //\n // Prefill cache with known css properties to reduce amount of\n // properties we need to feature test at runtime.\n // http://davidwalsh.name/vendor-prefix\n var computed = window.getComputedStyle(document.documentElement, '');\n for (var key in computed) {\n // eslint-disable-next-line no-restricted-globals\n if (!isNaN(key)) cache[computed[key]] = computed[key];\n }\n\n // Properties that cannot be correctly detected using the\n // cache prefill method.\n _plugins.noPrefill.forEach(function (x) {\n return delete cache[x];\n });\n}\n\n/**\n * Test if a property is supported, returns supported property with vendor\n * prefix if required. Returns `false` if not supported.\n *\n * @param {String} prop dash separated\n * @param {Object} [options]\n * @return {String|Boolean}\n * @api public\n */\n\nfunction supportedProperty(prop) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n // For server-side rendering.\n if (!el) return prop;\n\n // Remove cache for benchmark tests or return property from the cache.\n if (\"development\" !== 'benchmark' && cache[prop] != null) {\n return cache[prop];\n }\n\n // Check if 'transition' or 'transform' natively supported in browser.\n if (prop === 'transition' || prop === 'transform') {\n options[prop] = prop in el.style;\n }\n\n // Find a plugin for current prefix property.\n for (var i = 0; i < _plugins.propertyDetectors.length; i++) {\n cache[prop] = _plugins.propertyDetectors[i](prop, el.style, options);\n // Break loop, if value found.\n if (cache[prop]) break;\n }\n\n // Reset styles for current property.\n // Firefox can even throw an error for invalid properties, e.g., \"0\".\n try {\n el.style[prop] = '';\n } catch (err) {\n return false;\n }\n\n return cache[prop];\n}\n\n//# sourceURL=webpack://cssVendor/./src/supported-property.js?");
/***/ }),
Object.defineProperty(exports, "__esModule", {
value: true
});
var _prefix = __webpack_require__(0);
var _prefix2 = _interopRequireDefault(_prefix);
var _pascalize = __webpack_require__(1);
var _pascalize2 = _interopRequireDefault(_pascalize);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
// Support old break-* props syntax.
// http://caniuse.com/#feat=multicolumn
// https://github.com/postcss/autoprefixer/issues/491
// https://github.com/postcss/autoprefixer/issues/177
exports['default'] = {
supportedProperty: function supportedProperty(prop, style) {
if (!/^break-/.test(prop)) return false;
if (_prefix2['default'].js === 'Webkit') {
var jsProp = 'WebkitColumn' + (0, _pascalize2['default'])(prop);
return jsProp in style ? _prefix2['default'].css + 'column-' + prop : false;
}
if (_prefix2['default'].js === 'Moz') {
var _jsProp = 'page' + (0, _pascalize2['default'])(prop);
return _jsProp in style ? 'page-' + prop : false;
}
return false;
}
};
/***/ }),
/* 21 */
/***/ "./src/supported-value.js":
/*!********************************!*\
!*** ./src/supported-value.js ***!
\********************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports['default'] = supportedValue;\n\nvar _isInBrowser = __webpack_require__(/*! is-in-browser */ \"./node_modules/is-in-browser/dist/module.js\");\n\nvar _isInBrowser2 = _interopRequireDefault(_isInBrowser);\n\nvar _prefix = __webpack_require__(/*! ./prefix */ \"./src/prefix.js\");\n\nvar _prefix2 = _interopRequireDefault(_prefix);\n\nvar _supportedProperty = __webpack_require__(/*! ./supported-property */ \"./src/supported-property.js\");\n\nvar _supportedProperty2 = _interopRequireDefault(_supportedProperty);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar cache = {};\nvar transitionProperties = {\n transition: 1,\n 'transition-property': 1,\n '-webkit-transition': 1,\n '-webkit-transition-property': 1\n};\nvar transPropsRegExp = /(^\\s*[\\w-]+)|, (\\s*[\\w-]+)(?![^()]*\\))/g;\nvar el = void 0;\n\n/**\n * Returns prefixed value transition/transform if needed.\n *\n * @param {String} match\n * @param {String} p1\n * @param {String} p2\n * @return {String}\n * @api private\n */\nfunction prefixTransitionCallback(match, p1, p2) {\n if (p1 === 'all') return 'all';\n if (p2 === 'all') return ', all';\n return p1 ? (0, _supportedProperty2['default'])(p1) : ', ' + (0, _supportedProperty2['default'])(p2);\n}\n\nif (_isInBrowser2['default']) el = document.createElement('p');\n\n/**\n * Returns prefixed value if needed. Returns `false` if value is not supported.\n *\n * @param {String} property\n * @param {String} value\n * @return {String|Boolean}\n * @api public\n */\n\nfunction supportedValue(property, value) {\n // For server-side rendering.\n if (!el) return value;\n\n // It is a string or a number as a string like '1'.\n // We want only prefixable values here.\n // eslint-disable-next-line no-restricted-globals\n if (typeof value !== 'string' || !isNaN(parseInt(value, 10))) {\n return value;\n }\n\n // Create cache key for current value.\n var cacheKey = property + value;\n\n // Remove cache for benchmark tests or return value from cache.\n if (\"development\" !== 'benchmark' && cache[cacheKey] != null) {\n return cache[cacheKey];\n }\n\n // IE can even throw an error in some cases, for e.g. style.content = 'bar'.\n try {\n // Test value as it is.\n el.style[property] = value;\n } catch (err) {\n // Return false if value not supported.\n cache[cacheKey] = false;\n return false;\n }\n\n // If 'transition' or 'transition-property' property.\n if (transitionProperties[property]) {\n value = value.replace(transPropsRegExp, prefixTransitionCallback);\n } else if (el.style[property] === '') {\n // Value with a vendor prefix.\n value = _prefix2['default'].css + value;\n\n // Hardcode test to convert \"flex\" to \"-ms-flexbox\" for IE10.\n if (value === '-ms-flex') value = '-ms-flexbox';\n\n // Test prefixed value.\n el.style[property] = value;\n\n // Return false if value not supported.\n if (el.style[property] === '') {\n cache[cacheKey] = false;\n return false;\n }\n }\n\n // Reset styles for current property.\n el.style[property] = '';\n\n // Write current value to cache.\n cache[cacheKey] = value;\n\n return cache[cacheKey];\n}\n\n//# sourceURL=webpack://cssVendor/./src/supported-value.js?");
/***/ }),
Object.defineProperty(exports, "__esModule", {
value: true
});
var _prefix = __webpack_require__(0);
var _prefix2 = _interopRequireDefault(_prefix);
var _pascalize = __webpack_require__(1);
var _pascalize2 = _interopRequireDefault(_pascalize);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var propMap = {
flex: 'box-flex',
'flex-grow': 'box-flex',
'flex-direction': ['box-orient', 'box-direction'],
order: 'box-ordinal-group',
'align-items': 'box-align',
'flex-flow': ['box-orient', 'box-direction'],
'justify-content': 'box-pack'
};
var propKeys = Object.keys(propMap);
var prefixCss = function prefixCss(p) {
return _prefix2['default'].css + p;
};
// Support old flex spec from 2009.
exports['default'] = {
supportedProperty: function supportedProperty(prop, style, _ref) {
var multiple = _ref.multiple;
if (propKeys.indexOf(prop) > -1) {
var newProp = propMap[prop];
if (!Array.isArray(newProp)) {
return _prefix2['default'].js + (0, _pascalize2['default'])(newProp) in style ? _prefix2['default'].css + newProp : false;
}
if (!multiple) return false;
for (var i = 0; i < newProp.length; i++) {
if (!(_prefix2['default'].js + (0, _pascalize2['default'])(newProp[0]) in style)) {
return false;
}
}
return newProp.map(prefixCss);
}
return false;
}
};
/***/ }),
/* 22 */
/***/ "./src/utils/camelize.js":
/*!*******************************!*\
!*** ./src/utils/camelize.js ***!
\*******************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports['default'] = camelize;\nvar regExp = /[-\\s]+(.)?/g;\n\n/**\n * Replaces the letter with the capital letter\n *\n * @param {String} match\n * @param {String} c\n * @return {String}\n * @api private\n */\nfunction toUpper(match, c) {\n return c ? c.toUpperCase() : '';\n}\n\n/**\n * Convert dash separated strings to camel-cased.\n *\n * @param {String} str\n * @return {String}\n * @api private\n */\nfunction camelize(str) {\n return str.replace(regExp, toUpper);\n}\n\n//# sourceURL=webpack://cssVendor/./src/utils/camelize.js?");
/***/ }),
Object.defineProperty(exports, "__esModule", {
value: true
});
var _prefix = __webpack_require__(0);
var _prefix2 = _interopRequireDefault(_prefix);
var _pascalize = __webpack_require__(1);
var _pascalize2 = _interopRequireDefault(_pascalize);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var propMap = {
'flex-grow': 'flex-positive',
'flex-shrink': 'flex-negative',
'flex-basis': 'flex-preferred-size',
'justify-content': 'flex-pack',
order: 'flex-order',
'align-items': 'flex-align',
'align-content': 'flex-line-pack'
// align-self is handled by `align-self` plugin.
// Support old flex spec from 2012.
};exports['default'] = {
supportedProperty: function supportedProperty(prop, style) {
var newProp = propMap[prop];
if (!newProp) return false;
return _prefix2['default'].js + (0, _pascalize2['default'])(newProp) in style ? _prefix2['default'].css + newProp : false;
}
};
/***/ }),
/* 23 */
/***/ "./src/utils/pascalize.js":
/*!********************************!*\
!*** ./src/utils/pascalize.js ***!
\********************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports['default'] = pascalize;\n\nvar _camelize = __webpack_require__(/*! ./camelize */ \"./src/utils/camelize.js\");\n\nvar _camelize2 = _interopRequireDefault(_camelize);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\n/**\n * Convert dash separated strings to pascal cased.\n *\n * @param {String} str\n * @return {String}\n * @api private\n */\nfunction pascalize(str) {\n return (0, _camelize2['default'])('-' + str);\n}\n\n//# sourceURL=webpack://cssVendor/./src/utils/pascalize.js?");
/***/ })
Object.defineProperty(exports, "__esModule", {
value: true
});
exports['default'] = supportedValue;
var _isInBrowser = __webpack_require__(2);
var _isInBrowser2 = _interopRequireDefault(_isInBrowser);
var _prefix = __webpack_require__(0);
var _prefix2 = _interopRequireDefault(_prefix);
var _supportedProperty = __webpack_require__(5);
var _supportedProperty2 = _interopRequireDefault(_supportedProperty);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var cache = {};
var transitionProperties = {
transition: 1,
'transition-property': 1,
'-webkit-transition': 1,
'-webkit-transition-property': 1
};
var transPropsRegExp = /(^\s*\w+)|, (\s*\w+)(?![^()]*\))/g;
var el = void 0;
function prefixTransitionCallback(match, p1, p2) {
if (p1 === 'all') return 'all';
if (p2 === 'all') return ', all';
return p1 ? (0, _supportedProperty2['default'])(p1) : ', ' + (0, _supportedProperty2['default'])(p2);
}
if (_isInBrowser2['default']) el = document.createElement('p');
/**
* Returns prefixed value if needed. Returns `false` if value is not supported.
*
* @param {String} property
* @param {String} value
* @return {String|Boolean}
* @api public
*/
function supportedValue(property, value) {
// For server-side rendering.
if (!el) return value;
// It is a string or a number as a string like '1'.
// We want only prefixable values here.
// eslint-disable-next-line no-restricted-globals
if (typeof value !== 'string' || !isNaN(parseInt(value, 10))) {
return value;
}
var cacheKey = property + value;
if ("development" !== 'benchmark' && cache[cacheKey] != null) {
return cache[cacheKey];
}
// IE can even throw an error in some cases, for e.g. style.content = 'bar's
try {
// Test value as it is.
el.style[property] = value;
} catch (err) {
cache[cacheKey] = false;
return false;
}
if (transitionProperties[property]) {
value = value.replace(transPropsRegExp, prefixTransitionCallback);
} else if (el.style[property] === '') {
// Test value with vendor prefix.
value = _prefix2['default'].css + value;
// Hardcode test to convert "flex" to "-ms-flexbox" for IE10.
if (value === '-ms-flex') value = '-ms-flexbox';
el.style[property] = value;
if (el.style[property] === '') {
cache[cacheKey] = false;
return false;
}
}
// Reset style value.
el.style[property] = '';
cache[cacheKey] = value;
return cache[cacheKey];
}
/***/ })
/******/ ]);
/******/ });
});

@@ -1,2 +0,3 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.cssVendor=t():e.cssVendor=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(u){if(r[u])return r[u].exports;var n=r[u]={i:u,l:!1,exports:{}};return e[u].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,u){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:u})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=6)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=r(2),n=function(e){return e&&e.__esModule?e:{default:e}}(u),o="",f="";if(n.default){var l={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},i=document.createElement("p"),a=i.style;for(var s in l)if(s+"Transform"in a){o=s,f=l[s];break}"Webkit"===o&&"msHyphens"in a&&(o="ms",f=l.ms)}t.default={js:o,css:f}},function(e,t,r){"use strict";function u(e){return(0,o.default)("-"+e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var n=r(3),o=function(e){return e&&e.__esModule?e:{default:e}}(n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"isBrowser",function(){return n});var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n="object"===("undefined"==typeof window?"undefined":u(window))&&"object"===("undefined"==typeof document?"undefined":u(document))&&9===document.nodeType;t.default=n},function(e,t,r){"use strict";function u(e,t){return t?t.toUpperCase():""}function n(e){return e.replace(o,u)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var o=/[-\s]+(.)?/g},function(e,t,r){"use strict";function u(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.supportedValue=t.supportedProperty=t.prefix=void 0;var n=r(0),o=u(n),f=r(5),l=u(f),i=r(23),a=u(i);t.default={prefix:o.default,supportedProperty:l.default,supportedValue:a.default},/**
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.cssVendor=t():e.cssVendor=t()}(window,function(){return function(e){var t={};function r(u){if(t[u])return t[u].exports;var n=t[u]={i:u,l:!1,exports:{}};return e[u].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,u){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:u})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var u=Object.create(null);if(r.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(u,n,function(t){return e[t]}.bind(null,n));return u},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=21)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u="",n="";if(function(e){return e&&e.__esModule?e:{default:e}}(r(3)).default){var o={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},f=document.createElement("p").style;for(var l in o)if(l+"Transform"in f){u=l,n=o[l];break}"Webkit"===u&&"msHyphens"in f&&(u="ms",n=o.ms)}t.default={js:u,css:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,u.default)("-"+e)};var u=function(e){return e&&e.__esModule?e:{default:e}}(r(2))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(u,n)};var u=/[-\s]+(.)?/g;function n(e,t){return t?t.toUpperCase():""}},function(e,t,r){"use strict";r.r(t),r.d(t,"isBrowser",function(){return n});var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n="object"===("undefined"==typeof window?"undefined":u(window))&&"object"===("undefined"==typeof document?"undefined":u(document))&&9===document.nodeType;t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!o)return e;if(null!=f[e])return f[e];"transition"!==e&&"transform"!==e||(t[e]=e in o.style);for(var r=0;r<n.propertyDetectors.length&&(f[e]=n.propertyDetectors[r](e,o.style,t),!f[e]);r++);try{o.style[e]=""}catch(e){return!1}return f[e]};var u=function(e){return e&&e.__esModule?e:{default:e}}(r(3)),n=r(20);var o=void 0,f={};if(u.default){o=document.createElement("p");var l=window.getComputedStyle(document.documentElement,"");for(var i in l)isNaN(i)||(f[l[i]]=l[i]);n.noPrefill.forEach(function(e){return delete f[e]})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!d)return t;if("string"!=typeof t||!isNaN(parseInt(t,10)))return t;var r=e+t;if(null!=l[r])return l[r];try{d.style[e]=t}catch(e){return l[r]=!1,!1}if(i[e])t=t.replace(a,s);else if(""===d.style[e]&&("-ms-flex"===(t=n.default.css+t)&&(t="-ms-flexbox"),d.style[e]=t,""===d.style[e]))return l[r]=!1,!1;return d.style[e]="",l[r]=t,l[r]};var u=f(r(3)),n=f(r(0)),o=f(r(4));function f(e){return e&&e.__esModule?e:{default:e}}var l={},i={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},a=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g,d=void 0;function s(e,t,r){return"all"===t?"all":"all"===r?", all":t?(0,o.default)(t):", "+(0,o.default)(r)}u.default&&(d=document.createElement("p"))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=function(e){return e&&e.__esModule?e:{default:e}}(r(0));t.default={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===u.default.js||"ms"===u.default.js?u.default.css+e:e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=function(e){return e&&e.__esModule?e:{default:e}}(r(2));t.default={supportedProperty:function(e,t){return(0,u.default)(e)in t&&e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=function(e){return e&&e.__esModule?e:{default:e}}(r(0));t.default={noPrefill:["transition"],supportedProperty:function(e,t,r){return"transition"===e&&(r.transition?e:u.default.css+e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=function(e){return e&&e.__esModule?e:{default:e}}(r(0));t.default={noPrefill:["transform"],supportedProperty:function(e,t,r){return"transform"===e&&(r.transform?e:u.default.css+e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=function(e){return e&&e.__esModule?e:{default:e}}(r(0));t.default={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===u.default.js?u.default.css+"scroll-chaining":e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=function(e){return e&&e.__esModule?e:{default:e}}(r(0));t.default={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===u.default.js?""+u.default.css+e:e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=o(r(0)),n=o(r(1));function o(e){return e&&e.__esModule?e:{default:e}}t.default={supportedProperty:function(e,t){var r=(0,n.default)(e);return u.default.js+r in t?u.default.css+e:"Webkit"!==u.default.js&&"Webkit"+r in t&&e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=f(r(0)),n=f(r(1)),o=f(r(2));function f(e){return e&&e.__esModule?e:{default:e}}t.default={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===u.default.js){if((0,o.default)("mask-image")in t)return e;if(u.default.js+(0,n.default)("mask-image")in t)return u.default.css+e}return e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=o(r(0)),n=o(r(1));function o(e){return e&&e.__esModule?e:{default:e}}t.default={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===u.default.js)return e;var r=e.replace("-inline","");return u.default.js+(0,n.default)(r)in t&&u.default.css+r}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=o(r(0)),n=o(r(1));function o(e){return e&&e.__esModule?e:{default:e}}var f={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"};t.default={supportedProperty:function(e,t){var r=f[e];return!!r&&(u.default.js+(0,n.default)(r)in t&&u.default.css+r)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=o(r(0)),n=o(r(1));function o(e){return e&&e.__esModule?e:{default:e}}var f={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},l=Object.keys(f),i=function(e){return u.default.css+e};t.default={supportedProperty:function(e,t,r){var o=r.multiple;if(l.indexOf(e)>-1){var a=f[e];if(!Array.isArray(a))return u.default.js+(0,n.default)(a)in t&&u.default.css+a;if(!o)return!1;for(var d=0;d<a.length;d++)if(!(u.default.js+(0,n.default)(a[0])in t))return!1;return a.map(i)}return!1}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=function(e){return e&&e.__esModule?e:{default:e}}(r(0));t.default={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===u.default.js?u.default.css+"print-"+e:e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=o(r(0)),n=o(r(1));function o(e){return e&&e.__esModule?e:{default:e}}t.default={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===u.default.js?"WebkitColumn"+(0,n.default)(e)in t&&u.default.css+"column-"+e:"Moz"===u.default.js&&("page"+(0,n.default)(e)in t&&"page-"+e))}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=function(e){return e&&e.__esModule?e:{default:e}}(r(0));t.default={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===u.default.js?"-webkit-"+e:u.default.css+e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noPrefill=t.propertyDetectors=void 0;var u=b(r(19)),n=b(r(18)),o=b(r(17)),f=b(r(16)),l=b(r(15)),i=b(r(14)),a=b(r(13)),d=b(r(12)),s=b(r(11)),c=b(r(10)),p=b(r(9)),y=b(r(8)),_=b(r(7)),v=b(r(6));function b(e){return e&&e.__esModule?e:{default:e}}var m=[u.default,p.default,y.default,a.default,v.default,o.default,n.default,i.default,_.default,d.default,s.default,c.default,l.default,f.default];t.propertyDetectors=m.filter(function(e){return e.supportedProperty}).map(function(e){return e.supportedProperty}),t.noPrefill=m.filter(function(e){return e.noPrefill}).reduce(function(e,t){return e.push.apply(e,function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}(t.noPrefill)),e},[])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.supportedValue=t.supportedProperty=t.prefix=void 0;var u=f(r(0)),n=f(r(4)),o=f(r(5));function f(e){return e&&e.__esModule?e:{default:e}}t.default={prefix:u.default,supportedProperty:n.default,supportedValue:o.default},
/**
* CSS Vendor prefix detection and property feature testing.

@@ -8,2 +9,2 @@ *

*/
t.prefix=o.default,t.supportedProperty=l.default,t.supportedValue=a.default},function(e,t,r){"use strict";function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!l)return e;if(null!=i[e])return i[e];"transition"!==e&&"transform"!==e||(t[e]=e in l.style);for(var r=0;r<f.propertyDetectors.length&&(i[e]=f.propertyDetectors[r](e,l.style,t),!i[e]);r++);try{l.style[e]=""}catch(e){return!1}return i[e]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var n=r(2),o=function(e){return e&&e.__esModule?e:{default:e}}(n),f=r(7),l=void 0,i={};if(o.default){l=document.createElement("p");var a=window.getComputedStyle(document.documentElement,"");for(var s in a)isNaN(s)||(i[a[s]]=a[s]);f.noPrefill.forEach(function(e){return delete i[e]})}},function(e,t,r){r(4),e.exports=r(4)},function(e,t,r){"use strict";function u(e){return e&&e.__esModule?e:{default:e}}function n(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.noPrefill=t.propertyDetectors=void 0;var o=r(8),f=u(o),l=r(9),i=u(l),a=r(10),s=u(a),d=r(11),c=u(d),p=r(12),y=u(p),_=r(13),b=u(_),v=r(14),m=u(v),P=r(15),j=u(P),x=r(16),M=u(x),g=r(17),k=u(g),O=r(18),w=u(O),h=r(19),W=u(h),A=r(20),S=u(A),E=r(21),V=u(E),z=r(22),D=u(z),N=[f.default,i.default,s.default,c.default,y.default,b.default,m.default,j.default,M.default,k.default,D.default,V.default,w.default,W.default,S.default];t.propertyDetectors=N.filter(function(e){return e.supportedProperty}).map(function(e){return e.supportedProperty}),t.noPrefill=N.filter(function(e){return e.noPrefill}).reduce(function(e,t){return e.push.apply(e,n(t.noPrefill)),e},[])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=r(0),n=function(e){return e&&e.__esModule?e:{default:e}}(u);t.default={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===n.default.js?"-webkit-"+e:n.default.css+e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=r(0),n=function(e){return e&&e.__esModule?e:{default:e}}(u);t.default={noPrefill:["transform"],supportedProperty:function(e,t,r){return"transform"===e&&(r.transform?e:n.default.css+e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=r(0),n=function(e){return e&&e.__esModule?e:{default:e}}(u);t.default={noPrefill:["transition"],supportedProperty:function(e,t,r){return"transition"===e&&(r.transition?e:n.default.css+e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=r(0),n=function(e){return e&&e.__esModule?e:{default:e}}(u);t.default={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===n.default.js?""+n.default.css+e:e)}}},function(e,t,r){"use strict";function u(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),o=u(n),f=r(1),l=u(f),i=r(3),a=u(i);t.default={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===o.default.js){if((0,a.default)("mask-image")in t)return e;if(o.default.js+(0,l.default)("mask-image")in t)return o.default.css+e}return e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=r(0),n=function(e){return e&&e.__esModule?e:{default:e}}(u);t.default={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===n.default.js||"ms"===n.default.js?n.default.css+e:e)}}},function(e,t,r){"use strict";function u(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),o=u(n),f=r(1),l=u(f);t.default={noPrefill:["clip-path"],supportedProperty:function(e,t){if("clip-path"===e&&"Webkit"===o.default.js){t.clipPath="inset(10px 20px 30px 40px)";var r=t.clipPath;if(t.clipPath="",r)return e;if(o.default.js+(0,l.default)(e)in t)return o.default.css+e}return!1}}},function(e,t,r){"use strict";function u(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),o=u(n),f=r(1),l=u(f);t.default={noPrefill:["filter"],supportedProperty:function(e,t){if("filter"===e&&"Webkit"===o.default.js){t.filter="grayscale(50%)";var r=t.filter;if(t.filter="",r)return e;if(o.default.js+(0,l.default)(e)in t)return o.default.css+e}return!1}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=r(3),n=function(e){return e&&e.__esModule?e:{default:e}}(u);t.default={supportedProperty:function(e,t){return(0,n.default)(e)in t&&e}}},function(e,t,r){"use strict";function u(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),o=u(n),f=r(1),l=u(f);t.default={supportedProperty:function(e,t){var r=(0,l.default)(e);return o.default.js+r in t?o.default.css+e:"Webkit"!==o.default.js&&"Webkit"+r in t&&e}}},function(e,t,r){"use strict";function u(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),o=u(n),f=r(1),l=u(f);t.default={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;var r=e.replace("-inline","");return o.default.js+(0,l.default)(r)in t&&o.default.css+r}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=r(0),n=function(e){return e&&e.__esModule?e:{default:e}}(u);t.default={supportedProperty:function(e){if(!/^mask-border/.test(e))return!1;var t=e.replace(/^mask-border/,"mask-box-image");return"Webkit"===n.default.js?n.default.css+t:e}}},function(e,t,r){"use strict";function u(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),o=u(n),f=r(1),l=u(f);t.default={supportedProperty:function(e,t){if(!/^break-/.test(e))return!1;if("Webkit"===o.default.js){return"WebkitColumn"+(0,l.default)(e)in t&&o.default.css+"column-"+e}if("Moz"===o.default.js){return"page"+(0,l.default)(e)in t&&"page-"+e}return!1}}},function(e,t,r){"use strict";function u(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),o=u(n),f=r(1),l=u(f),i={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},a=Object.keys(i),s=function(e){return o.default.css+e};t.default={supportedProperty:function(e,t,r){var u=r.multiple;if(a.indexOf(e)>-1){var n=i[e];if(!Array.isArray(n))return o.default.js+(0,l.default)(n)in t&&o.default.css+n;if(!u)return!1;for(var f=0;f<n.length;f++)if(!(o.default.js+(0,l.default)(n[0])in t))return!1;return n.map(s)}return!1}}},function(e,t,r){"use strict";function u(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),o=u(n),f=r(1),l=u(f),i={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"};t.default={supportedProperty:function(e,t){var r=i[e];return!!r&&(o.default.js+(0,l.default)(r)in t&&o.default.css+r)}}},function(e,t,r){"use strict";function u(e){return e&&e.__esModule?e:{default:e}}function n(e,t,r){return"all"===t?"all":"all"===r?", all":t?(0,d.default)(t):", "+(0,d.default)(r)}function o(e,t){if(!_)return t;if("string"!=typeof t||!isNaN(parseInt(t,10)))return t;var r=e+t;if(null!=c[r])return c[r];try{_.style[e]=t}catch(e){return c[r]=!1,!1}if(p[e])t=t.replace(y,n);else if(""===_.style[e]&&(t=a.default.css+t,"-ms-flex"===t&&(t="-ms-flexbox"),_.style[e]=t,""===_.style[e]))return c[r]=!1,!1;return _.style[e]="",c[r]=t,c[r]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var f=r(2),l=u(f),i=r(0),a=u(i),s=r(5),d=u(s),c={},p={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},y=/(^\s*\w+)|, (\s*\w+)(?![^()]*\))/g,_=void 0;l.default&&(_=document.createElement("p"))}])});
t.prefix=u.default,t.supportedProperty=n.default,t.supportedValue=o.default}])});

@@ -13,2 +13,4 @@ 'use strict';

// Support old appearance props syntax.
// https://caniuse.com/#search=appearance
exports['default'] = {

@@ -18,7 +20,5 @@ noPrefill: ['appearance'],

if (prop !== 'appearance') return false;
if (_prefix2['default'].js === 'ms') {
return '-webkit-' + prop;
}
if (_prefix2['default'].js === 'ms') return '-webkit-' + prop;
return _prefix2['default'].css + prop;
}
};

@@ -18,3 +18,3 @@ 'use strict';

// Support old break-* props syntax.
// http://caniuse.com/#feat=multicolumn
// https://caniuse.com/#search=multicolumn
// https://github.com/postcss/autoprefixer/issues/491

@@ -21,0 +21,0 @@ // https://github.com/postcss/autoprefixer/issues/177

@@ -25,3 +25,3 @@ 'use strict';

'align-content': 'flex-line-pack'
// align-self is handled by `align-self` plugin.
// 'align-self' is handled by 'align-self' plugin.

@@ -28,0 +28,0 @@

@@ -12,58 +12,54 @@ 'use strict';

var _transform = require('./transform');
var _breakPropsOld = require('./break-props-old');
var _transform2 = _interopRequireDefault(_transform);
var _breakPropsOld2 = _interopRequireDefault(_breakPropsOld);
var _transition = require('./transition');
var _colorAdjust = require('./color-adjust');
var _transition2 = _interopRequireDefault(_transition);
var _colorAdjust2 = _interopRequireDefault(_colorAdjust);
var _scrollSnap = require('./scroll-snap');
var _flex = require('./flex-2009');
var _scrollSnap2 = _interopRequireDefault(_scrollSnap);
var _flex2 = _interopRequireDefault(_flex);
var _mask = require('./mask');
var _flex3 = require('./flex-2012');
var _mask2 = _interopRequireDefault(_mask);
var _flex4 = _interopRequireDefault(_flex3);
var _writingMode = require('./writing-mode');
var _inlineLogicalOld = require('./inline-logical-old');
var _writingMode2 = _interopRequireDefault(_writingMode);
var _inlineLogicalOld2 = _interopRequireDefault(_inlineLogicalOld);
var _clipPath = require('./clip-path');
var _mask = require('./mask');
var _clipPath2 = _interopRequireDefault(_clipPath);
var _mask2 = _interopRequireDefault(_mask);
var _filter = require('./filter');
var _prefixed = require('./prefixed');
var _filter2 = _interopRequireDefault(_filter);
var _prefixed2 = _interopRequireDefault(_prefixed);
var _unprefixed = require('./unprefixed');
var _scrollSnap = require('./scroll-snap');
var _unprefixed2 = _interopRequireDefault(_unprefixed);
var _scrollSnap2 = _interopRequireDefault(_scrollSnap);
var _prefixed = require('./prefixed');
var _overscrollBehavior = require('./overscroll-behavior');
var _prefixed2 = _interopRequireDefault(_prefixed);
var _overscrollBehavior2 = _interopRequireDefault(_overscrollBehavior);
var _inlineLogicalOld = require('./inline-logical-old');
var _transform = require('./transform');
var _inlineLogicalOld2 = _interopRequireDefault(_inlineLogicalOld);
var _transform2 = _interopRequireDefault(_transform);
var _maskBorderOld = require('./mask-border-old');
var _transition = require('./transition');
var _maskBorderOld2 = _interopRequireDefault(_maskBorderOld);
var _transition2 = _interopRequireDefault(_transition);
var _breakPropsOld = require('./break-props-old');
var _unprefixed = require('./unprefixed');
var _breakPropsOld2 = _interopRequireDefault(_breakPropsOld);
var _unprefixed2 = _interopRequireDefault(_unprefixed);
var _flex = require('./flex-2009');
var _writingMode = require('./writing-mode');
var _flex2 = _interopRequireDefault(_flex);
var _writingMode2 = _interopRequireDefault(_writingMode);
var _flex3 = require('./flex-2012');
var _flex4 = _interopRequireDefault(_flex3);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

@@ -73,3 +69,19 @@

var plugins = [_appearence2['default'], _transform2['default'], _transition2['default'], _scrollSnap2['default'], _mask2['default'], _writingMode2['default'], _clipPath2['default'], _filter2['default'], _unprefixed2['default'], _prefixed2['default'], _flex4['default'], _flex2['default'], _inlineLogicalOld2['default'], _maskBorderOld2['default'], _breakPropsOld2['default']];
// Please, keep order plugins:
// plugins = [
// ...plugins,
// breakPropsOld,
// inlineLogicalOld,
// unprefixed,
// prefixed,
// scrollSnap,
// scrollChaining,
// flex2012,
// flex2009
// ]
// Plugins without 'noPrefill' value, going last.
// 'flex-*' plugins should be at the bottom.
// 'flex2009' going after 'flex2012'.
// 'prefixed' going after 'unprefixed'
var plugins = [_appearence2['default'], _transform2['default'], _transition2['default'], _mask2['default'], _writingMode2['default'], _colorAdjust2['default'], _breakPropsOld2['default'], _inlineLogicalOld2['default'], _unprefixed2['default'], _prefixed2['default'], _scrollSnap2['default'], _overscrollBehavior2['default'], _flex4['default'], _flex2['default']];

@@ -76,0 +88,0 @@ var propertyDetectors = exports.propertyDetectors = plugins.filter(function (p) {

@@ -22,2 +22,3 @@ 'use strict';

if (!/^(border|margin|padding)-inline/.test(prop)) return false;
if (_prefix2['default'].js === 'Moz') return prop;
var newProp = prop.replace('-inline', '');

@@ -24,0 +25,0 @@ return _prefix2['default'].js + (0, _pascalize2['default'])(newProp) in style ? _prefix2['default'].css + newProp : false;

@@ -21,4 +21,5 @@ 'use strict';

// mask property support cannot be directly detected in webkit browsers,
// Mask property support cannot detect directly in WebKit browsers,
// but we can use a longhand property instead.
// https://caniuse.com/#search=mask
exports['default'] = {

@@ -25,0 +26,0 @@ noPrefill: ['mask'],

@@ -13,2 +13,4 @@ 'use strict';

// Support scroll-snap props syntax.
// https://caniuse.com/#search=scroll-snap
exports['default'] = {

@@ -15,0 +17,0 @@ supportedProperty: function supportedProperty(prop) {

@@ -13,2 +13,4 @@ 'use strict';

// Support transform prop syntax.
// https://caniuse.com/#search=transform
exports['default'] = {

@@ -15,0 +17,0 @@ noPrefill: ['transform'],

@@ -13,2 +13,4 @@ 'use strict';

// Support transition prop syntax.
// https://caniuse.com/#search=transition
exports['default'] = {

@@ -15,0 +17,0 @@ noPrefill: ['transition'],

@@ -13,5 +13,5 @@ 'use strict';

// Test if property is supported as it is.
// Camelization is required because we can't test using
// css syntax for e.g. in FF.
// Test if a property supported as it is.
// Camelization is required because we can't test using.
// CSS syntax for e.g. in FF.
exports['default'] = {

@@ -18,0 +18,0 @@ supportedProperty: function supportedProperty(prop, style) {

@@ -13,5 +13,4 @@ 'use strict';

// writing-mode has basic support in webkit without prefix for svg documents
// but in other cases it might need a prefix. We can resort to value testing.
// See https://developer.mozilla.org/de/docs/Web/CSS/writing-mode
// Support writing-mode prop syntax.
// https://caniuse.com/#search=writing-mode
exports['default'] = {

@@ -18,0 +17,0 @@ noPrefill: ['writing-mode'],

@@ -13,6 +13,4 @@ 'use strict';

var js = ''; /**
* Export javascript style and css style vendor prefixes.
* Based on "transform" support test.
*/
var js = ''; // Export javascript style and css style vendor prefixes.
// Based on "transform" support test.

@@ -27,3 +25,2 @@ var css = '';

Moz: '-moz-',
// IE did it wrong again ...
ms: '-ms-',

@@ -30,0 +27,0 @@ O: '-o-',

@@ -18,14 +18,13 @@ 'use strict';

var cache = {};
if (_isInBrowser2['default']) {
el = document.createElement('p');
/**
* We test every property on vendor prefix requirement.
* Once tested, result is cached. It gives us up to 70% perf boost.
* http://jsperf.com/element-style-object-access-vs-plain-object
*
* Prefill cache with known css properties to reduce amount of
* properties we need to feature test at runtime.
* http://davidwalsh.name/vendor-prefix
*/
// We test every property on vendor prefix requirement.
// Once tested, result is cached. It gives us up to 70% perf boost.
// http://jsperf.com/element-style-object-access-vs-plain-object
//
// Prefill cache with known css properties to reduce amount of
// properties we need to feature test at runtime.
// http://davidwalsh.name/vendor-prefix
var computed = window.getComputedStyle(document.documentElement, '');

@@ -60,3 +59,3 @@ for (var key in computed) {

// We have not tested this prop yet, lets do the test.
// Remove cache for benchmark tests or return property from the cache.
if (process.env.NODE_ENV !== 'benchmark' && cache[prop] != null) {

@@ -66,2 +65,3 @@ return cache[prop];

// Check if 'transition' or 'transform' natively supported in browser.
if (prop === 'transition' || prop === 'transform') {

@@ -71,8 +71,11 @@ options[prop] = prop in el.style;

// Find a plugin for current prefix property.
for (var i = 0; i < _plugins.propertyDetectors.length; i++) {
cache[prop] = _plugins.propertyDetectors[i](prop, el.style, options);
// Break loop, if value found.
if (cache[prop]) break;
}
// Firefox can even throw an error for invalid properties, e.g. "0"
// Reset styles for current property.
// Firefox can even throw an error for invalid properties, e.g., "0".
try {

@@ -79,0 +82,0 @@ el.style[prop] = '';

@@ -29,5 +29,14 @@ 'use strict';

};
var transPropsRegExp = /(^\s*\w+)|, (\s*\w+)(?![^()]*\))/g;
var transPropsRegExp = /(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;
var el = void 0;
/**
* Returns prefixed value transition/transform if needed.
*
* @param {String} match
* @param {String} p1
* @param {String} p2
* @return {String}
* @api private
*/
function prefixTransitionCallback(match, p1, p2) {

@@ -61,4 +70,6 @@ if (p1 === 'all') return 'all';

// Create cache key for current value.
var cacheKey = property + value;
// Remove cache for benchmark tests or return value from cache.
if (process.env.NODE_ENV !== 'benchmark' && cache[cacheKey] != null) {

@@ -68,3 +79,3 @@ return cache[cacheKey];

// IE can even throw an error in some cases, for e.g. style.content = 'bar's
// IE can even throw an error in some cases, for e.g. style.content = 'bar'.
try {

@@ -74,2 +85,3 @@ // Test value as it is.

} catch (err) {
// Return false if value not supported.
cache[cacheKey] = false;

@@ -79,6 +91,7 @@ return false;

// If 'transition' or 'transition-property' property.
if (transitionProperties[property]) {
value = value.replace(transPropsRegExp, prefixTransitionCallback);
} else if (el.style[property] === '') {
// Test value with vendor prefix.
// Value with a vendor prefix.
value = _prefix2['default'].css + value;

@@ -89,4 +102,6 @@

// Test prefixed value.
el.style[property] = value;
// Return false if value not supported.
if (el.style[property] === '') {

@@ -98,5 +113,6 @@ cache[cacheKey] = false;

// Reset style value.
// Reset styles for current property.
el.style[property] = '';
// Write current value to cache.
cache[cacheKey] = value;

@@ -103,0 +119,0 @@

@@ -55,6 +55,10 @@ 'use strict';

it('known transform value prefixed', function () {
it('should return known transform value prefixed', function () {
(0, _expect2['default'])((0, _supportedValue2['default'])('transition', 'all 100ms ease, transform 200ms linear')).to.eql('all 100ms ease, ' + _fixtures2['default'].transform + ' 200ms linear');
});
it('should return dashed property value as it is', function () {
(0, _expect2['default'])((0, _supportedValue2['default'])('transition', 'max-height 300ms ease-in-out')).to.eql('max-height 300ms ease-in-out');
});
it('should not break a complex transition value', function () {

@@ -61,0 +65,0 @@ var value = 'margin 225ms cubic-bezier(0.0, 0, 0.2, 1) 0ms';

@@ -10,8 +10,9 @@ 'use strict';

/**
* Convert dash separated strings to camel cased.
* Replaces the letter with the capital letter
*
* @param {String} str
* @param {String} match
* @param {String} c
* @return {String}
* @api private
*/
function toUpper(match, c) {

@@ -21,4 +22,11 @@ return c ? c.toUpperCase() : '';

/**
* Convert dash separated strings to camel-cased.
*
* @param {String} str
* @return {String}
* @api private
*/
function camelize(str) {
return str.replace(regExp, toUpper);
}

@@ -19,2 +19,3 @@ 'use strict';

* @return {String}
* @api private
*/

@@ -21,0 +22,0 @@ function pascalize(str) {

{
"name": "css-vendor",
"description": "CSS vendor prefix detection and property feature testing.",
"version": "1.0.3",
"version": "1.0.4",
"author": {

@@ -29,4 +29,4 @@ "name": "Oleg Slobodskoi",

"build:dist": "npm run build:dist:max && npm run build:dist:min",
"build:dist:max": "cross-env NODE_ENV=development webpack src/index.js dist/css-vendor.js",
"build:dist:min": "cross-env NODE_ENV=production webpack src/index.js dist/css-vendor.min.js",
"build:dist:max": "cross-env webpack --mode=development src/index.js --output-filename=css-vendor.js",
"build:dist:min": "cross-env webpack --mode=production src/index.js --output-filename=css-vendor.min.js",
"clean": "rimraf {lib,dist,tmp}/*",

@@ -43,25 +43,24 @@ "lint": "eslint ./src ./tests --fix",

"devDependencies": {
"autoprefixer": "^7.2.4",
"autoprefixer": "^8.5.0",
"babel-cli": "^6.5.1",
"babel-core": "^6.5.1",
"babel-eslint": "^8.1.1",
"babel-loader": "^7.1.2",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.5",
"babel-loader": "^7.1.4",
"babel-plugin-transform-es2015-spread": "^6.22.0",
"babel-plugin-transform-es3-member-expression-literals": "^6.8.0",
"babel-plugin-transform-es3-property-literals": "^6.8.0",
"babel-preset-env": "^1.6.1",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-2": "^6.24.1",
"caniuse-support": "^0.4.1",
"cross-env": "^5.1.3",
"caniuse-support": "^0.4.2",
"cross-env": "^5.2.0",
"es5-shim": "^4.5.10",
"eslint": "^4.14.0",
"eslint-config-airbnb": "^16.1.0",
"eslint": "^5.0.0",
"eslint-config-airbnb": "^17.0.0",
"eslint-config-jss": "^3.0.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.5.1",
"eslint-plugin-react": "^7.10.0",
"expect.js": "^0.3.1",
"json-loader": "^0.5.4",
"karma": "^2.0.0",
"karma-benchmark": "^0.6.0",
"karma": "^2.0.4",
"karma-benchmark": "^0.7.1",
"karma-benchmark-reporter": "^0.1.1",

@@ -76,9 +75,10 @@ "karma-browserstack-launcher": "^1.0.0",

"karma-sourcemap-loader": "^0.3.5",
"karma-webpack": "^2.0.9",
"lint-staged": "^6.0.0",
"mocha": "^4.0.1",
"karma-webpack": "^3.0.0",
"lint-staged": "^7.2.0",
"mocha": "^5.2.0",
"postcss-js": "^1.0.1",
"pre-commit": "^1.1.3",
"rimraf": "^2.6.2",
"webpack": "^3.10.0"
"webpack": "^4.14.0",
"webpack-cli": "^3.0.8"
},

@@ -94,3 +94,7 @@ "dependencies": {

},
"pre-commit": "lint:staged"
"pre-commit": "lint:staged",
"files": [
"dist",
"lib"
]
}

@@ -1,2 +0,2 @@

[![Build Status](https://travis-ci.org/cssinjs/css-vendor.svg?branch=master)](https://travis-ci.org/cssinjs/css-vendor)
[![Build Status](https://travis-ci.org/cssinjs/css-vendor.svg?branch=master)](https://travis-ci.org/cssinjs/css-vendor) [![Greenkeeper badge](https://badges.greenkeeper.io/cssinjs/css-vendor.svg)](https://greenkeeper.io/)

@@ -3,0 +3,0 @@ ## CSS vendor prefix detection and property feature testing.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc