autoprefixer 9.7.5 → 9.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/README.md +52 -32
- package/data/prefixes.js +11 -10
- package/lib/at-rule.js +2 -14
- package/lib/autoprefixer.js +4 -4
- package/lib/brackets.js +2 -2
- package/lib/declaration.js +2 -14
- package/lib/hacks/align-content.js +0 -12
- package/lib/hacks/align-items.js +0 -12
- package/lib/hacks/align-self.js +0 -12
- package/lib/hacks/animation.js +0 -12
- package/lib/hacks/appearance.js +0 -12
- package/lib/hacks/backdrop-filter.js +0 -12
- package/lib/hacks/background-clip.js +0 -12
- package/lib/hacks/background-size.js +0 -12
- package/lib/hacks/block-logical.js +0 -12
- package/lib/hacks/border-image.js +0 -12
- package/lib/hacks/border-radius.js +0 -12
- package/lib/hacks/break-props.js +0 -12
- package/lib/hacks/color-adjust.js +0 -12
- package/lib/hacks/cross-fade.js +0 -12
- package/lib/hacks/display-flex.js +0 -12
- package/lib/hacks/display-grid.js +0 -12
- package/lib/hacks/filter-value.js +0 -12
- package/lib/hacks/filter.js +0 -12
- package/lib/hacks/flex-basis.js +0 -12
- package/lib/hacks/flex-direction.js +0 -12
- package/lib/hacks/flex-flow.js +0 -12
- package/lib/hacks/flex-grow.js +0 -12
- package/lib/hacks/flex-shrink.js +0 -12
- package/lib/hacks/flex-wrap.js +0 -12
- package/lib/hacks/flex.js +0 -12
- package/lib/hacks/fullscreen.js +0 -12
- package/lib/hacks/gradient.js +2 -12
- package/lib/hacks/grid-area.js +0 -12
- package/lib/hacks/grid-column-align.js +0 -12
- package/lib/hacks/grid-end.js +0 -12
- package/lib/hacks/grid-row-align.js +0 -12
- package/lib/hacks/grid-row-column.js +0 -12
- package/lib/hacks/grid-rows-columns.js +0 -12
- package/lib/hacks/grid-start.js +0 -12
- package/lib/hacks/grid-template-areas.js +0 -12
- package/lib/hacks/grid-template.js +0 -12
- package/lib/hacks/grid-utils.js +2 -2
- package/lib/hacks/image-rendering.js +0 -12
- package/lib/hacks/image-set.js +0 -12
- package/lib/hacks/inline-logical.js +0 -12
- package/lib/hacks/intrinsic.js +8 -22
- package/lib/hacks/justify-content.js +0 -12
- package/lib/hacks/mask-border.js +0 -12
- package/lib/hacks/mask-composite.js +0 -12
- package/lib/hacks/order.js +0 -12
- package/lib/hacks/overscroll-behavior.js +0 -12
- package/lib/hacks/pixelated.js +0 -12
- package/lib/hacks/place-self.js +0 -12
- package/lib/hacks/placeholder-shown.js +36 -0
- package/lib/hacks/placeholder.js +0 -12
- package/lib/hacks/text-decoration-skip-ink.js +0 -12
- package/lib/hacks/text-decoration.js +0 -12
- package/lib/hacks/text-emphasis-position.js +0 -12
- package/lib/hacks/transform-decl.js +2 -14
- package/lib/hacks/user-select.js +0 -12
- package/lib/hacks/writing-mode.js +0 -12
- package/lib/info.js +2 -2
- package/lib/old-selector.js +2 -2
- package/lib/prefixer.js +2 -2
- package/lib/prefixes.js +3 -2
- package/lib/processor.js +2 -2
- package/lib/resolution.js +2 -14
- package/lib/selector.js +2 -14
- package/lib/supports.js +2 -2
- package/lib/transition.js +2 -2
- package/lib/utils.js +2 -2
- package/lib/value.js +0 -12
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
3
3
|
|
|
4
|
+
## 9.8.2
|
|
5
|
+
* Remove old Node.js <13.7 from supported engines, because of buggy ESM support.
|
|
6
|
+
|
|
7
|
+
## 9.8.1
|
|
8
|
+
* Replace `chalk` to `kleur` (by Luke Edwards).
|
|
9
|
+
* Update docs (by @mbomb007).
|
|
10
|
+
|
|
11
|
+
## 9.8 “Vigilo Confido”
|
|
12
|
+
* Add `:placeholder-shown` support (by Tanguy Krotoff).
|
|
13
|
+
|
|
14
|
+
## 9.7.6
|
|
15
|
+
* Revert `-webkit-stretch` fix.
|
|
16
|
+
|
|
4
17
|
## 9.7.5
|
|
5
18
|
* Fix `-webkit-stretch` support.
|
|
6
19
|
|
package/README.md
CHANGED
|
@@ -30,9 +30,6 @@ support to apply prefixes for you. You can try the [interactive demo]
|
|
|
30
30
|
of Autoprefixer.
|
|
31
31
|
|
|
32
32
|
```css
|
|
33
|
-
::-webkit-input-placeholder {
|
|
34
|
-
color: gray;
|
|
35
|
-
}
|
|
36
33
|
::-moz-placeholder {
|
|
37
34
|
color: gray;
|
|
38
35
|
}
|
|
@@ -50,7 +47,6 @@ of Autoprefixer.
|
|
|
50
47
|
background-image: url(image@1x.png);
|
|
51
48
|
}
|
|
52
49
|
@media (-webkit-min-device-pixel-ratio: 2),
|
|
53
|
-
(-o-min-device-pixel-ratio: 2/1),
|
|
54
50
|
(min-resolution: 2dppx) {
|
|
55
51
|
.image {
|
|
56
52
|
background-image: url(image@2x.png);
|
|
@@ -75,30 +71,45 @@ Twitter account for news and releases: [@autoprefixer].
|
|
|
75
71
|
|
|
76
72
|
## Contents
|
|
77
73
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
74
|
+
* [Contents](#contents)
|
|
75
|
+
* [Browsers](#browsers)
|
|
76
|
+
* [FAQ](#faq)
|
|
77
|
+
* [Does Autoprefixer polyfill Grid Layout for IE?](#does-autoprefixer-polyfill-grid-layout-for-ie)
|
|
78
|
+
* [Does it add polyfills?](#does-it-add-polyfills)
|
|
79
|
+
* [Why doesn’t Autoprefixer add prefixes to `border-radius`?](#why-doesnt-autoprefixer-add-prefixes-to-border-radius)
|
|
80
|
+
* [Why does Autoprefixer use unprefixed properties in `@-webkit-keyframes`?](#why-does-autoprefixer-use-unprefixed-properties-in--webkit-keyframes)
|
|
81
|
+
* [How to work with legacy `-webkit-` only code?](#how-to-work-with-legacy--webkit--only-code)
|
|
82
|
+
* [Does Autoprefixer add `-epub-` prefix?](#does-autoprefixer-add--epub--prefix)
|
|
83
|
+
* [Why doesn’t Autoprefixer transform generic font-family `system-ui`?](#why-doesnt-autoprefixer-transform-generic-font-family-system-ui)
|
|
84
|
+
* [Usage](#usage)
|
|
85
|
+
* [Gulp](#gulp)
|
|
86
|
+
* [Webpack](#webpack)
|
|
87
|
+
* [CSS-in-JS](#css-in-js)
|
|
88
|
+
* [CLI](#cli)
|
|
89
|
+
* [Other Build Tools](#other-build-tools)
|
|
90
|
+
* [Preprocessors](#preprocessors)
|
|
91
|
+
* [GUI Tools](#gui-tools)
|
|
92
|
+
* [JavaScript](#javascript)
|
|
93
|
+
* [Text Editors and IDE](#text-editors-and-ide)
|
|
94
|
+
* [Warnings](#warnings)
|
|
95
|
+
* [Disabling](#disabling)
|
|
96
|
+
* [Prefixes](#prefixes)
|
|
97
|
+
* [Features](#features)
|
|
98
|
+
* [Control Comments](#control-comments)
|
|
99
|
+
* [Options](#options)
|
|
100
|
+
* [Environment Variables](#environment-variables)
|
|
101
|
+
* [Using environment variables to support CSS Grid prefixes in Create React App](#using-environment-variables-to-support-css-grid-prefixes-in-create-react-app)
|
|
102
|
+
* [Grid Autoplacement support in IE](#grid-autoplacement-support-in-ie)
|
|
103
|
+
* [Beware of enabling autoplacement in old projects](#beware-of-enabling-autoplacement-in-old-projects)
|
|
104
|
+
* [Autoplacement limitations](#autoplacement-limitations)
|
|
105
|
+
* [Both columns and rows must be defined](#both-columns-and-rows-must-be-defined)
|
|
106
|
+
* [Repeat auto-fit and auto-fill are not supported](#repeat-auto-fit-and-auto-fill-are-not-supported)
|
|
107
|
+
* [No manual cell placement or column/row spans allowed inside an autoplacement grid](#no-manual-cell-placement-or-columnrow-spans-allowed-inside-an-autoplacement-grid)
|
|
108
|
+
* [Do not create `::before` and `::after` pseudo elements](#do-not-create-before-and-after-pseudo-elements)
|
|
109
|
+
* [When changing the `grid gap` value, columns and rows must be re-declared](#when-changing-the-grid-gap-value-columns-and-rows-must-be-re-declared)
|
|
110
|
+
* [Debug](#debug)
|
|
111
|
+
* [Security Contact](#security-contact)
|
|
112
|
+
* [For Enterprise](#for-enterprise)
|
|
102
113
|
|
|
103
114
|
## Browsers
|
|
104
115
|
|
|
@@ -374,7 +385,7 @@ See `postcss -h` for help.
|
|
|
374
385
|
[autoprefixer-rails]: https://github.com/ai/autoprefixer-rails
|
|
375
386
|
[broccoli-postcss]: https://github.com/jeffjewiss/broccoli-postcss
|
|
376
387
|
[postcss-brunch]: https://github.com/iamvdo/postcss-brunch
|
|
377
|
-
[grunt-postcss]: https://github.com/
|
|
388
|
+
[grunt-postcss]: https://github.com/C-Lodder/grunt-postcss
|
|
378
389
|
|
|
379
390
|
|
|
380
391
|
#### Preprocessors
|
|
@@ -432,11 +443,10 @@ and automation.
|
|
|
432
443
|
|
|
433
444
|
If you can’t move to a build tool, you can use text editor plugins:
|
|
434
445
|
|
|
446
|
+
* [Visual Studio Code](https://github.com/mrmlnc/vscode-autoprefixer)
|
|
447
|
+
* [Atom Editor](https://github.com/sindresorhus/atom-autoprefixer)
|
|
435
448
|
* [Sublime Text](https://github.com/sindresorhus/sublime-autoprefixer)
|
|
436
449
|
* [Brackets](https://github.com/mikaeljorhult/brackets-autoprefixer)
|
|
437
|
-
* [Atom Editor](https://github.com/sindresorhus/atom-autoprefixer)
|
|
438
|
-
* [Visual Studio](https://github.com/madskristensen/WebCompiler)
|
|
439
|
-
([how to](https://stackoverflow.com/a/54908636/2440))
|
|
440
450
|
|
|
441
451
|
[Parcel]: https://parceljs.org/
|
|
442
452
|
|
|
@@ -1097,3 +1107,13 @@ To report a security vulnerability, please use the [Tidelift security contact].
|
|
|
1097
1107
|
Tidelift will coordinate the fix and disclosure.
|
|
1098
1108
|
|
|
1099
1109
|
[Tidelift security contact]: https://tidelift.com/security
|
|
1110
|
+
|
|
1111
|
+
## For Enterprise
|
|
1112
|
+
|
|
1113
|
+
Available as part of the Tidelift Subscription.
|
|
1114
|
+
|
|
1115
|
+
The maintainers of `autoprefixer` and thousands of other packages are working
|
|
1116
|
+
with Tidelift to deliver commercial support and maintenance for the open source
|
|
1117
|
+
dependencies you use to build your applications. Save time, reduce risk,
|
|
1118
|
+
and improve code health, while paying the maintainers of the exact dependencies
|
|
1119
|
+
you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-autoprefixer?utm_source=npm-autoprefixer&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
|
package/data/prefixes.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _createForOfIteratorHelperLoose(o) { var
|
|
3
|
+
function _createForOfIteratorHelperLoose(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; return function () { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } it = o[Symbol.iterator](); return it.next.bind(it); }
|
|
4
4
|
|
|
5
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(
|
|
5
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
6
6
|
|
|
7
7
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
8
8
|
|
|
@@ -321,6 +321,14 @@ f(require('caniuse-lite/data/features/css-placeholder'), function (browsers) {
|
|
|
321
321
|
feature: 'css-placeholder',
|
|
322
322
|
browsers: browsers.concat(['ie 10 old', 'ie 11 old', 'firefox 18 old'])
|
|
323
323
|
});
|
|
324
|
+
}); // Placeholder-shown selector
|
|
325
|
+
|
|
326
|
+
f(require('caniuse-lite/data/features/css-placeholder-shown'), function (browsers) {
|
|
327
|
+
prefix([':placeholder-shown'], {
|
|
328
|
+
selector: true,
|
|
329
|
+
feature: 'css-placeholder-shown',
|
|
330
|
+
browsers: browsers
|
|
331
|
+
});
|
|
324
332
|
}); // Hyphenation
|
|
325
333
|
|
|
326
334
|
f(require('caniuse-lite/data/features/css-hyphens'), function (browsers) {
|
|
@@ -369,14 +377,7 @@ f(intrinsic, function (browsers) {
|
|
|
369
377
|
f(intrinsic, {
|
|
370
378
|
match: /x|\s#4/
|
|
371
379
|
}, function (browsers) {
|
|
372
|
-
|
|
373
|
-
if (/safari/.test(i)) {
|
|
374
|
-
return i;
|
|
375
|
-
} else {
|
|
376
|
-
return i + " old";
|
|
377
|
-
}
|
|
378
|
-
});
|
|
379
|
-
prefix(['fill', 'fill-available', 'stretch'], {
|
|
380
|
+
return prefix(['fill', 'fill-available', 'stretch'], {
|
|
380
381
|
props: sizeProps,
|
|
381
382
|
feature: 'intrinsic-width',
|
|
382
383
|
browsers: browsers
|
package/lib/at-rule.js
CHANGED
|
@@ -2,22 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
|
|
4
4
|
|
|
5
|
-
function _createForOfIteratorHelperLoose(o) { var
|
|
5
|
+
function _createForOfIteratorHelperLoose(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; return function () { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } it = o[Symbol.iterator](); return it.next.bind(it); }
|
|
6
6
|
|
|
7
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(
|
|
7
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
8
8
|
|
|
9
9
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
10
10
|
|
|
11
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
12
|
-
|
|
13
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
14
|
-
|
|
15
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
16
|
-
|
|
17
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
18
|
-
|
|
19
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
20
|
-
|
|
21
11
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
|
|
22
12
|
|
|
23
13
|
var Prefixer = require('./prefixer');
|
|
@@ -25,8 +15,6 @@ var Prefixer = require('./prefixer');
|
|
|
25
15
|
var AtRule = /*#__PURE__*/function (_Prefixer) {
|
|
26
16
|
_inheritsLoose(AtRule, _Prefixer);
|
|
27
17
|
|
|
28
|
-
var _super = _createSuper(AtRule);
|
|
29
|
-
|
|
30
18
|
function AtRule() {
|
|
31
19
|
return _Prefixer.apply(this, arguments) || this;
|
|
32
20
|
}
|
package/lib/autoprefixer.js
CHANGED
|
@@ -6,7 +6,7 @@ var postcss = require('postcss');
|
|
|
6
6
|
|
|
7
7
|
var agents = require('caniuse-lite').agents;
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var kleur = require('kleur/colors');
|
|
10
10
|
|
|
11
11
|
var Browsers = require('./browsers');
|
|
12
12
|
|
|
@@ -75,9 +75,9 @@ module.exports = postcss.plugin('autoprefixer', function () {
|
|
|
75
75
|
reqs = options.overrideBrowserslist;
|
|
76
76
|
} else if (options.browsers) {
|
|
77
77
|
if (typeof console !== 'undefined' && console.warn) {
|
|
78
|
-
if (
|
|
79
|
-
console.warn(
|
|
80
|
-
return
|
|
78
|
+
if (kleur.red) {
|
|
79
|
+
console.warn(kleur.red(WARNING.replace(/`[^`]+`/g, function (i) {
|
|
80
|
+
return kleur.yellow(i.slice(1, -1));
|
|
81
81
|
})));
|
|
82
82
|
} else {
|
|
83
83
|
console.warn(WARNING);
|
package/lib/brackets.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _createForOfIteratorHelperLoose(o) { var
|
|
3
|
+
function _createForOfIteratorHelperLoose(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; return function () { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } it = o[Symbol.iterator](); return it.next.bind(it); }
|
|
4
4
|
|
|
5
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(
|
|
5
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
6
6
|
|
|
7
7
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
8
8
|
|
package/lib/declaration.js
CHANGED
|
@@ -2,22 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
|
|
4
4
|
|
|
5
|
-
function _createForOfIteratorHelperLoose(o) { var
|
|
5
|
+
function _createForOfIteratorHelperLoose(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; return function () { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } it = o[Symbol.iterator](); return it.next.bind(it); }
|
|
6
6
|
|
|
7
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(
|
|
7
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
8
8
|
|
|
9
9
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
10
10
|
|
|
11
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
12
|
-
|
|
13
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
14
|
-
|
|
15
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
16
|
-
|
|
17
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
18
|
-
|
|
19
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
20
|
-
|
|
21
11
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
|
|
22
12
|
|
|
23
13
|
var Prefixer = require('./prefixer');
|
|
@@ -29,8 +19,6 @@ var utils = require('./utils');
|
|
|
29
19
|
var Declaration = /*#__PURE__*/function (_Prefixer) {
|
|
30
20
|
_inheritsLoose(Declaration, _Prefixer);
|
|
31
21
|
|
|
32
|
-
var _super = _createSuper(Declaration);
|
|
33
|
-
|
|
34
22
|
function Declaration() {
|
|
35
23
|
return _Prefixer.apply(this, arguments) || this;
|
|
36
24
|
}
|
|
@@ -2,16 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
|
|
4
4
|
|
|
5
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
6
|
-
|
|
7
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
8
|
-
|
|
9
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
10
|
-
|
|
11
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
12
|
-
|
|
13
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
14
|
-
|
|
15
5
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
|
|
16
6
|
|
|
17
7
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -23,8 +13,6 @@ var Declaration = require('../declaration');
|
|
|
23
13
|
var AlignContent = /*#__PURE__*/function (_Declaration) {
|
|
24
14
|
_inheritsLoose(AlignContent, _Declaration);
|
|
25
15
|
|
|
26
|
-
var _super = _createSuper(AlignContent);
|
|
27
|
-
|
|
28
16
|
function AlignContent() {
|
|
29
17
|
return _Declaration.apply(this, arguments) || this;
|
|
30
18
|
}
|
package/lib/hacks/align-items.js
CHANGED
|
@@ -2,16 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
|
|
4
4
|
|
|
5
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
6
|
-
|
|
7
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
8
|
-
|
|
9
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
10
|
-
|
|
11
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
12
|
-
|
|
13
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
14
|
-
|
|
15
5
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
|
|
16
6
|
|
|
17
7
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -23,8 +13,6 @@ var Declaration = require('../declaration');
|
|
|
23
13
|
var AlignItems = /*#__PURE__*/function (_Declaration) {
|
|
24
14
|
_inheritsLoose(AlignItems, _Declaration);
|
|
25
15
|
|
|
26
|
-
var _super = _createSuper(AlignItems);
|
|
27
|
-
|
|
28
16
|
function AlignItems() {
|
|
29
17
|
return _Declaration.apply(this, arguments) || this;
|
|
30
18
|
}
|
package/lib/hacks/align-self.js
CHANGED
|
@@ -2,16 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
|
|
4
4
|
|
|
5
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
6
|
-
|
|
7
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
8
|
-
|
|
9
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
10
|
-
|
|
11
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
12
|
-
|
|
13
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
14
|
-
|
|
15
5
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
|
|
16
6
|
|
|
17
7
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -23,8 +13,6 @@ var Declaration = require('../declaration');
|
|
|
23
13
|
var AlignSelf = /*#__PURE__*/function (_Declaration) {
|
|
24
14
|
_inheritsLoose(AlignSelf, _Declaration);
|
|
25
15
|
|
|
26
|
-
var _super = _createSuper(AlignSelf);
|
|
27
|
-
|
|
28
16
|
function AlignSelf() {
|
|
29
17
|
return _Declaration.apply(this, arguments) || this;
|
|
30
18
|
}
|
package/lib/hacks/animation.js
CHANGED
|
@@ -2,16 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
|
|
4
4
|
|
|
5
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
6
|
-
|
|
7
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
8
|
-
|
|
9
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
10
|
-
|
|
11
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
12
|
-
|
|
13
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
14
|
-
|
|
15
5
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
|
|
16
6
|
|
|
17
7
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -21,8 +11,6 @@ var Declaration = require('../declaration');
|
|
|
21
11
|
var Animation = /*#__PURE__*/function (_Declaration) {
|
|
22
12
|
_inheritsLoose(Animation, _Declaration);
|
|
23
13
|
|
|
24
|
-
var _super = _createSuper(Animation);
|
|
25
|
-
|
|
26
14
|
function Animation() {
|
|
27
15
|
return _Declaration.apply(this, arguments) || this;
|
|
28
16
|
}
|
package/lib/hacks/appearance.js
CHANGED
|
@@ -2,16 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
|
|
4
4
|
|
|
5
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
6
|
-
|
|
7
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
8
|
-
|
|
9
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
10
|
-
|
|
11
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
12
|
-
|
|
13
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
14
|
-
|
|
15
5
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
|
|
16
6
|
|
|
17
7
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -23,8 +13,6 @@ var utils = require('../utils');
|
|
|
23
13
|
var Appearance = /*#__PURE__*/function (_Declaration) {
|
|
24
14
|
_inheritsLoose(Appearance, _Declaration);
|
|
25
15
|
|
|
26
|
-
var _super = _createSuper(Appearance);
|
|
27
|
-
|
|
28
16
|
function Appearance(name, prefixes, all) {
|
|
29
17
|
var _this;
|
|
30
18
|
|
|
@@ -2,16 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
|
|
4
4
|
|
|
5
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
6
|
-
|
|
7
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
8
|
-
|
|
9
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
10
|
-
|
|
11
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
12
|
-
|
|
13
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
14
|
-
|
|
15
5
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
|
|
16
6
|
|
|
17
7
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -23,8 +13,6 @@ var utils = require('../utils');
|
|
|
23
13
|
var BackdropFilter = /*#__PURE__*/function (_Declaration) {
|
|
24
14
|
_inheritsLoose(BackdropFilter, _Declaration);
|
|
25
15
|
|
|
26
|
-
var _super = _createSuper(BackdropFilter);
|
|
27
|
-
|
|
28
16
|
function BackdropFilter(name, prefixes, all) {
|
|
29
17
|
var _this;
|
|
30
18
|
|
|
@@ -2,16 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
|
|
4
4
|
|
|
5
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
6
|
-
|
|
7
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
8
|
-
|
|
9
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
10
|
-
|
|
11
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
12
|
-
|
|
13
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
14
|
-
|
|
15
5
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
|
|
16
6
|
|
|
17
7
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -23,8 +13,6 @@ var utils = require('../utils');
|
|
|
23
13
|
var BackgroundClip = /*#__PURE__*/function (_Declaration) {
|
|
24
14
|
_inheritsLoose(BackgroundClip, _Declaration);
|
|
25
15
|
|
|
26
|
-
var _super = _createSuper(BackgroundClip);
|
|
27
|
-
|
|
28
16
|
function BackgroundClip(name, prefixes, all) {
|
|
29
17
|
var _this;
|
|
30
18
|
|
|
@@ -2,16 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
|
|
4
4
|
|
|
5
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
6
|
-
|
|
7
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
8
|
-
|
|
9
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
10
|
-
|
|
11
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
12
|
-
|
|
13
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
14
|
-
|
|
15
5
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
|
|
16
6
|
|
|
17
7
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -21,8 +11,6 @@ var Declaration = require('../declaration');
|
|
|
21
11
|
var BackgroundSize = /*#__PURE__*/function (_Declaration) {
|
|
22
12
|
_inheritsLoose(BackgroundSize, _Declaration);
|
|
23
13
|
|
|
24
|
-
var _super = _createSuper(BackgroundSize);
|
|
25
|
-
|
|
26
14
|
function BackgroundSize() {
|
|
27
15
|
return _Declaration.apply(this, arguments) || this;
|
|
28
16
|
}
|
|
@@ -2,16 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
|
|
4
4
|
|
|
5
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
6
|
-
|
|
7
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
8
|
-
|
|
9
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
10
|
-
|
|
11
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
12
|
-
|
|
13
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
14
|
-
|
|
15
5
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
|
|
16
6
|
|
|
17
7
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -21,8 +11,6 @@ var Declaration = require('../declaration');
|
|
|
21
11
|
var BlockLogical = /*#__PURE__*/function (_Declaration) {
|
|
22
12
|
_inheritsLoose(BlockLogical, _Declaration);
|
|
23
13
|
|
|
24
|
-
var _super = _createSuper(BlockLogical);
|
|
25
|
-
|
|
26
14
|
function BlockLogical() {
|
|
27
15
|
return _Declaration.apply(this, arguments) || this;
|
|
28
16
|
}
|
|
@@ -2,16 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
|
|
4
4
|
|
|
5
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
6
|
-
|
|
7
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
8
|
-
|
|
9
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
10
|
-
|
|
11
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
12
|
-
|
|
13
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
14
|
-
|
|
15
5
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
|
|
16
6
|
|
|
17
7
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -21,8 +11,6 @@ var Declaration = require('../declaration');
|
|
|
21
11
|
var BorderImage = /*#__PURE__*/function (_Declaration) {
|
|
22
12
|
_inheritsLoose(BorderImage, _Declaration);
|
|
23
13
|
|
|
24
|
-
var _super = _createSuper(BorderImage);
|
|
25
|
-
|
|
26
14
|
function BorderImage() {
|
|
27
15
|
return _Declaration.apply(this, arguments) || this;
|
|
28
16
|
}
|
|
@@ -2,16 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
|
|
4
4
|
|
|
5
|
-
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
6
|
-
|
|
7
|
-
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
8
|
-
|
|
9
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
10
|
-
|
|
11
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
12
|
-
|
|
13
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
14
|
-
|
|
15
5
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
|
|
16
6
|
|
|
17
7
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -21,8 +11,6 @@ var Declaration = require('../declaration');
|
|
|
21
11
|
var BorderRadius = /*#__PURE__*/function (_Declaration) {
|
|
22
12
|
_inheritsLoose(BorderRadius, _Declaration);
|
|
23
13
|
|
|
24
|
-
var _super = _createSuper(BorderRadius);
|
|
25
|
-
|
|
26
14
|
function BorderRadius() {
|
|
27
15
|
return _Declaration.apply(this, arguments) || this;
|
|
28
16
|
}
|