autoprefixer 9.7.2 → 9.7.6

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.
Files changed (76) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +41 -28
  3. package/data/prefixes.js +10 -26
  4. package/lib/at-rule.js +21 -16
  5. package/lib/autoprefixer.js +1 -1
  6. package/lib/brackets.js +10 -26
  7. package/lib/browsers.js +1 -3
  8. package/lib/declaration.js +23 -29
  9. package/lib/hacks/align-content.js +13 -3
  10. package/lib/hacks/align-items.js +13 -3
  11. package/lib/hacks/align-self.js +13 -3
  12. package/lib/hacks/animation.js +13 -3
  13. package/lib/hacks/appearance.js +13 -3
  14. package/lib/hacks/backdrop-filter.js +13 -3
  15. package/lib/hacks/background-clip.js +13 -3
  16. package/lib/hacks/background-size.js +13 -3
  17. package/lib/hacks/block-logical.js +13 -3
  18. package/lib/hacks/border-image.js +13 -3
  19. package/lib/hacks/border-radius.js +13 -3
  20. package/lib/hacks/break-props.js +13 -3
  21. package/lib/hacks/color-adjust.js +13 -3
  22. package/lib/hacks/cross-fade.js +13 -3
  23. package/lib/hacks/display-flex.js +13 -3
  24. package/lib/hacks/display-grid.js +13 -3
  25. package/lib/hacks/filter-value.js +13 -3
  26. package/lib/hacks/filter.js +13 -3
  27. package/lib/hacks/flex-basis.js +13 -3
  28. package/lib/hacks/flex-direction.js +13 -3
  29. package/lib/hacks/flex-flow.js +13 -3
  30. package/lib/hacks/flex-grow.js +13 -3
  31. package/lib/hacks/flex-shrink.js +13 -3
  32. package/lib/hacks/flex-wrap.js +13 -3
  33. package/lib/hacks/flex.js +13 -3
  34. package/lib/hacks/fullscreen.js +13 -3
  35. package/lib/hacks/gradient.js +31 -83
  36. package/lib/hacks/grid-area.js +13 -3
  37. package/lib/hacks/grid-column-align.js +13 -3
  38. package/lib/hacks/grid-end.js +13 -3
  39. package/lib/hacks/grid-row-align.js +13 -3
  40. package/lib/hacks/grid-row-column.js +13 -3
  41. package/lib/hacks/grid-rows-columns.js +13 -3
  42. package/lib/hacks/grid-start.js +13 -3
  43. package/lib/hacks/grid-template-areas.js +14 -4
  44. package/lib/hacks/grid-template.js +13 -3
  45. package/lib/hacks/grid-utils.js +40 -67
  46. package/lib/hacks/image-rendering.js +13 -3
  47. package/lib/hacks/image-set.js +13 -3
  48. package/lib/hacks/inline-logical.js +13 -3
  49. package/lib/hacks/intrinsic.js +13 -3
  50. package/lib/hacks/justify-content.js +13 -3
  51. package/lib/hacks/mask-border.js +13 -3
  52. package/lib/hacks/mask-composite.js +13 -3
  53. package/lib/hacks/order.js +13 -3
  54. package/lib/hacks/overscroll-behavior.js +13 -3
  55. package/lib/hacks/pixelated.js +13 -3
  56. package/lib/hacks/place-self.js +13 -3
  57. package/lib/hacks/placeholder.js +13 -3
  58. package/lib/hacks/text-decoration-skip-ink.js +13 -3
  59. package/lib/hacks/text-decoration.js +13 -3
  60. package/lib/hacks/text-emphasis-position.js +13 -3
  61. package/lib/hacks/transform-decl.js +22 -17
  62. package/lib/hacks/user-select.js +13 -3
  63. package/lib/hacks/writing-mode.js +13 -3
  64. package/lib/info.js +12 -39
  65. package/lib/old-selector.js +11 -18
  66. package/lib/old-value.js +1 -3
  67. package/lib/prefixer.js +9 -16
  68. package/lib/prefixes.js +39 -112
  69. package/lib/processor.js +25 -88
  70. package/lib/resolution.js +26 -45
  71. package/lib/selector.js +25 -33
  72. package/lib/supports.js +15 -55
  73. package/lib/transition.js +29 -127
  74. package/lib/utils.js +9 -14
  75. package/lib/value.js +13 -3
  76. package/package.json +6 -8
@@ -1,5 +1,11 @@
1
1
  "use strict";
2
2
 
3
+ function _createForOfIteratorHelperLoose(o) { var i = 0; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (o = _unsupportedIterableToArray(o))) 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."); } i = o[Symbol.iterator](); return i.next.bind(i); }
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(n); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
+
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
+
3
9
  var parser = require('postcss-value-parser');
4
10
 
5
11
  var list = require('postcss').list;
@@ -63,19 +69,8 @@ function parse(decl) {
63
69
  var current = 0;
64
70
  values[current] = [];
65
71
 
66
- for (var _iterator = node.nodes, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {
67
- var _ref;
68
-
69
- if (_isArray) {
70
- if (_i >= _iterator.length) break;
71
- _ref = _iterator[_i++];
72
- } else {
73
- _i = _iterator.next();
74
- if (_i.done) break;
75
- _ref = _i.value;
76
- }
77
-
78
- var i = _ref;
72
+ for (var _iterator = _createForOfIteratorHelperLoose(node.nodes), _step; !(_step = _iterator()).done;) {
73
+ var i = _step.value;
79
74
 
80
75
  if (i.type === 'div') {
81
76
  current += 1;
@@ -100,15 +95,15 @@ function insertDecl(decl, prop, value) {
100
95
  } // Track transforms
101
96
 
102
97
 
103
- function prefixTrackProp(_ref2) {
104
- var prop = _ref2.prop,
105
- prefix = _ref2.prefix;
98
+ function prefixTrackProp(_ref) {
99
+ var prop = _ref.prop,
100
+ prefix = _ref.prefix;
106
101
  return prefix + prop.replace('template-', '');
107
102
  }
108
103
 
109
- function transformRepeat(_ref3, _ref4) {
110
- var nodes = _ref3.nodes;
111
- var gap = _ref4.gap;
104
+ function transformRepeat(_ref2, _ref3) {
105
+ var nodes = _ref2.nodes;
106
+ var gap = _ref3.gap;
112
107
 
113
108
  var _nodes$reduce = nodes.reduce(function (result, node) {
114
109
  if (node.type === 'div' && node.value === ',') {
@@ -159,9 +154,9 @@ function transformRepeat(_ref3, _ref4) {
159
154
  return "(" + size.join('') + ")[" + count.join('') + "]";
160
155
  }
161
156
 
162
- function prefixTrackValue(_ref5) {
163
- var value = _ref5.value,
164
- gap = _ref5.gap;
157
+ function prefixTrackValue(_ref4) {
158
+ var value = _ref4.value,
159
+ gap = _ref4.gap;
165
160
  var result = parser(value).nodes.reduce(function (nodes, node) {
166
161
  if (node.type === 'function' && node.value === 'repeat') {
167
162
  return nodes.concat({
@@ -202,9 +197,9 @@ function getColumns(line) {
202
197
  return line.trim().split(/\s+/g);
203
198
  }
204
199
 
205
- function parseGridAreas(_ref6) {
206
- var rows = _ref6.rows,
207
- gap = _ref6.gap;
200
+ function parseGridAreas(_ref5) {
201
+ var rows = _ref5.rows,
202
+ gap = _ref5.gap;
208
203
  return rows.reduce(function (areas, line, rowIndex) {
209
204
  if (gap.row) rowIndex *= 2;
210
205
  if (line.trim() === '') return areas;
@@ -235,7 +230,7 @@ function parseGridAreas(_ref6) {
235
230
 
236
231
 
237
232
  function testTrack(node) {
238
- return node.type === 'word' && /^\[.+\]$/.test(node.value);
233
+ return node.type === 'word' && /^\[.+]$/.test(node.value);
239
234
  }
240
235
 
241
236
  function verifyRowSize(result) {
@@ -246,9 +241,9 @@ function verifyRowSize(result) {
246
241
  return result;
247
242
  }
248
243
 
249
- function parseTemplate(_ref7) {
250
- var decl = _ref7.decl,
251
- gap = _ref7.gap;
244
+ function parseTemplate(_ref6) {
245
+ var decl = _ref6.decl,
246
+ gap = _ref6.gap;
252
247
  var gridTemplate = parser(decl.value).nodes.reduce(function (result, node) {
253
248
  var type = node.type,
254
249
  value = node.value;
@@ -410,8 +405,8 @@ function parseGridTemplatesData(css) {
410
405
  // return index of that item
411
406
 
412
407
 
413
- var index = parsed.reduce(function (acc, _ref8, idx) {
414
- var allAreas = _ref8.allAreas;
408
+ var index = parsed.reduce(function (acc, _ref7, idx) {
409
+ var allAreas = _ref7.allAreas;
415
410
  var hasAreas = allAreas && areaNames.some(function (area) {
416
411
  return allAreas.includes(area);
417
412
  });
@@ -545,19 +540,8 @@ function insertAreas(css, isDisabled) {
545
540
 
546
541
  var lastRuleIsSet = false; // walk through every grid-template rule data
547
542
 
548
- for (var _iterator2 = data.rules, _isArray2 = Array.isArray(_iterator2), _i2 = 0, _iterator2 = _isArray2 ? _iterator2 : _iterator2[Symbol.iterator]();;) {
549
- var _ref9;
550
-
551
- if (_isArray2) {
552
- if (_i2 >= _iterator2.length) break;
553
- _ref9 = _iterator2[_i2++];
554
- } else {
555
- _i2 = _iterator2.next();
556
- if (_i2.done) break;
557
- _ref9 = _i2.value;
558
- }
559
-
560
- var rule = _ref9;
543
+ for (var _iterator2 = _createForOfIteratorHelperLoose(data.rules), _step2; !(_step2 = _iterator2()).done;) {
544
+ var rule = _step2.value;
561
545
  var area = rule.areas[value];
562
546
  var hasDuplicateName = rule.duplicateAreaNames.includes(value); // if we can't find the area name, update lastRule and continue
563
547
 
@@ -740,19 +724,8 @@ function warnTemplateSelectorNotFound(decl, result) {
740
724
 
741
725
  var hasArea = areas[decl.value]; // find the the matching selectors
742
726
 
743
- for (var _iterator3 = templateSelectors, _isArray3 = Array.isArray(_iterator3), _i3 = 0, _iterator3 = _isArray3 ? _iterator3 : _iterator3[Symbol.iterator]();;) {
744
- var _ref10;
745
-
746
- if (_isArray3) {
747
- if (_i3 >= _iterator3.length) break;
748
- _ref10 = _iterator3[_i3++];
749
- } else {
750
- _i3 = _iterator3.next();
751
- if (_i3.done) break;
752
- _ref10 = _i3.value;
753
- }
754
-
755
- var tplSelector = _ref10;
727
+ for (var _iterator3 = _createForOfIteratorHelperLoose(templateSelectors), _step3; !(_step3 = _iterator3()).done;) {
728
+ var tplSelector = _step3.value;
756
729
 
757
730
  if (gridTemplateFound) {
758
731
  break;
@@ -819,9 +792,9 @@ function getGridGap(decl) {
819
792
  var gap = {}; // try to find gap
820
793
 
821
794
  var testGap = /^(grid-)?((row|column)-)?gap$/;
822
- decl.parent.walkDecls(testGap, function (_ref11) {
823
- var prop = _ref11.prop,
824
- value = _ref11.value;
795
+ decl.parent.walkDecls(testGap, function (_ref8) {
796
+ var prop = _ref8.prop,
797
+ value = _ref8.value;
825
798
 
826
799
  if (/^(grid-)?gap$/.test(prop)) {
827
800
  var _parser$nodes = parser(value).nodes,
@@ -882,8 +855,8 @@ function shouldInheritGap(selA, selB) {
882
855
  } else if (splitSelectorArrA[0].length > splitSelectorArrB[0].length) {
883
856
  // if selectorA has higher descendant specificity then selectorB
884
857
  // (e.g '.foo .bar .grid' and '.grid')
885
- var idx = splitSelectorArrA[0].reduce(function (res, _ref12, index) {
886
- var item = _ref12[0];
858
+ var idx = splitSelectorArrA[0].reduce(function (res, _ref9, index) {
859
+ var item = _ref9[0];
887
860
  var firstSelectorPart = splitSelectorArrB[0][0][0];
888
861
 
889
862
  if (item === firstSelectorPart) {
@@ -995,11 +968,11 @@ function inheritGridGap(decl, gap) {
995
968
  return false;
996
969
  }
997
970
 
998
- function warnGridGap(_ref13) {
999
- var gap = _ref13.gap,
1000
- hasColumns = _ref13.hasColumns,
1001
- decl = _ref13.decl,
1002
- result = _ref13.result;
971
+ function warnGridGap(_ref10) {
972
+ var gap = _ref10.gap,
973
+ hasColumns = _ref10.hasColumns,
974
+ decl = _ref10.decl,
975
+ result = _ref10.result;
1003
976
  var hasBothGaps = gap.row && gap.column;
1004
977
 
1005
978
  if (!hasColumns && (hasBothGaps || gap.column && !gap.row)) {
@@ -2,17 +2,27 @@
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
+
5
15
  function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
6
16
 
7
17
  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; }
8
18
 
9
19
  var Declaration = require('../declaration');
10
20
 
11
- var ImageRendering =
12
- /*#__PURE__*/
13
- function (_Declaration) {
21
+ var ImageRendering = /*#__PURE__*/function (_Declaration) {
14
22
  _inheritsLoose(ImageRendering, _Declaration);
15
23
 
24
+ var _super = _createSuper(ImageRendering);
25
+
16
26
  function ImageRendering() {
17
27
  return _Declaration.apply(this, arguments) || this;
18
28
  }
@@ -2,17 +2,27 @@
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
+
5
15
  function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
6
16
 
7
17
  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; }
8
18
 
9
19
  var Value = require('../value');
10
20
 
11
- var ImageSet =
12
- /*#__PURE__*/
13
- function (_Value) {
21
+ var ImageSet = /*#__PURE__*/function (_Value) {
14
22
  _inheritsLoose(ImageSet, _Value);
15
23
 
24
+ var _super = _createSuper(ImageSet);
25
+
16
26
  function ImageSet() {
17
27
  return _Value.apply(this, arguments) || this;
18
28
  }
@@ -2,17 +2,27 @@
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
+
5
15
  function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
6
16
 
7
17
  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; }
8
18
 
9
19
  var Declaration = require('../declaration');
10
20
 
11
- var InlineLogical =
12
- /*#__PURE__*/
13
- function (_Declaration) {
21
+ var InlineLogical = /*#__PURE__*/function (_Declaration) {
14
22
  _inheritsLoose(InlineLogical, _Declaration);
15
23
 
24
+ var _super = _createSuper(InlineLogical);
25
+
16
26
  function InlineLogical() {
17
27
  return _Declaration.apply(this, arguments) || this;
18
28
  }
@@ -2,6 +2,16 @@
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
+
5
15
  function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
6
16
 
7
17
  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; }
@@ -14,11 +24,11 @@ function _regexp(name) {
14
24
  return new RegExp("(^|[\\s,(])(" + name + "($|[\\s),]))", 'gi');
15
25
  }
16
26
 
17
- var Intrinsic =
18
- /*#__PURE__*/
19
- function (_Value) {
27
+ var Intrinsic = /*#__PURE__*/function (_Value) {
20
28
  _inheritsLoose(Intrinsic, _Value);
21
29
 
30
+ var _super = _createSuper(Intrinsic);
31
+
22
32
  function Intrinsic() {
23
33
  return _Value.apply(this, arguments) || this;
24
34
  }
@@ -2,6 +2,16 @@
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
+
5
15
  function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
6
16
 
7
17
  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; }
@@ -10,11 +20,11 @@ var flexSpec = require('./flex-spec');
10
20
 
11
21
  var Declaration = require('../declaration');
12
22
 
13
- var JustifyContent =
14
- /*#__PURE__*/
15
- function (_Declaration) {
23
+ var JustifyContent = /*#__PURE__*/function (_Declaration) {
16
24
  _inheritsLoose(JustifyContent, _Declaration);
17
25
 
26
+ var _super = _createSuper(JustifyContent);
27
+
18
28
  function JustifyContent() {
19
29
  return _Declaration.apply(this, arguments) || this;
20
30
  }
@@ -2,17 +2,27 @@
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
+
5
15
  function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
6
16
 
7
17
  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; }
8
18
 
9
19
  var Declaration = require('../declaration');
10
20
 
11
- var MaskBorder =
12
- /*#__PURE__*/
13
- function (_Declaration) {
21
+ var MaskBorder = /*#__PURE__*/function (_Declaration) {
14
22
  _inheritsLoose(MaskBorder, _Declaration);
15
23
 
24
+ var _super = _createSuper(MaskBorder);
25
+
16
26
  function MaskBorder() {
17
27
  return _Declaration.apply(this, arguments) || this;
18
28
  }
@@ -2,17 +2,27 @@
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
+
5
15
  function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
6
16
 
7
17
  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; }
8
18
 
9
19
  var Declaration = require('../declaration');
10
20
 
11
- var MaskComposite =
12
- /*#__PURE__*/
13
- function (_Declaration) {
21
+ var MaskComposite = /*#__PURE__*/function (_Declaration) {
14
22
  _inheritsLoose(MaskComposite, _Declaration);
15
23
 
24
+ var _super = _createSuper(MaskComposite);
25
+
16
26
  function MaskComposite() {
17
27
  return _Declaration.apply(this, arguments) || this;
18
28
  }
@@ -2,6 +2,16 @@
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
+
5
15
  function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
6
16
 
7
17
  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; }
@@ -10,11 +20,11 @@ var flexSpec = require('./flex-spec');
10
20
 
11
21
  var Declaration = require('../declaration');
12
22
 
13
- var Order =
14
- /*#__PURE__*/
15
- function (_Declaration) {
23
+ var Order = /*#__PURE__*/function (_Declaration) {
16
24
  _inheritsLoose(Order, _Declaration);
17
25
 
26
+ var _super = _createSuper(Order);
27
+
18
28
  function Order() {
19
29
  return _Declaration.apply(this, arguments) || this;
20
30
  }
@@ -2,17 +2,27 @@
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
+
5
15
  function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
6
16
 
7
17
  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; }
8
18
 
9
19
  var Declaration = require('../declaration');
10
20
 
11
- var OverscrollBehavior =
12
- /*#__PURE__*/
13
- function (_Declaration) {
21
+ var OverscrollBehavior = /*#__PURE__*/function (_Declaration) {
14
22
  _inheritsLoose(OverscrollBehavior, _Declaration);
15
23
 
24
+ var _super = _createSuper(OverscrollBehavior);
25
+
16
26
  function OverscrollBehavior() {
17
27
  return _Declaration.apply(this, arguments) || this;
18
28
  }
@@ -2,6 +2,16 @@
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
+
5
15
  function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
6
16
 
7
17
  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; }
@@ -10,11 +20,11 @@ var OldValue = require('../old-value');
10
20
 
11
21
  var Value = require('../value');
12
22
 
13
- var Pixelated =
14
- /*#__PURE__*/
15
- function (_Value) {
23
+ var Pixelated = /*#__PURE__*/function (_Value) {
16
24
  _inheritsLoose(Pixelated, _Value);
17
25
 
26
+ var _super = _createSuper(Pixelated);
27
+
18
28
  function Pixelated() {
19
29
  return _Value.apply(this, arguments) || this;
20
30
  }
@@ -2,6 +2,16 @@
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
+
5
15
  function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
6
16
 
7
17
  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; }
@@ -10,11 +20,11 @@ var Declaration = require('../declaration');
10
20
 
11
21
  var utils = require('./grid-utils');
12
22
 
13
- var PlaceSelf =
14
- /*#__PURE__*/
15
- function (_Declaration) {
23
+ var PlaceSelf = /*#__PURE__*/function (_Declaration) {
16
24
  _inheritsLoose(PlaceSelf, _Declaration);
17
25
 
26
+ var _super = _createSuper(PlaceSelf);
27
+
18
28
  function PlaceSelf() {
19
29
  return _Declaration.apply(this, arguments) || this;
20
30
  }
@@ -2,17 +2,27 @@
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
+
5
15
  function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
6
16
 
7
17
  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; }
8
18
 
9
19
  var Selector = require('../selector');
10
20
 
11
- var Placeholder =
12
- /*#__PURE__*/
13
- function (_Selector) {
21
+ var Placeholder = /*#__PURE__*/function (_Selector) {
14
22
  _inheritsLoose(Placeholder, _Selector);
15
23
 
24
+ var _super = _createSuper(Placeholder);
25
+
16
26
  function Placeholder() {
17
27
  return _Selector.apply(this, arguments) || this;
18
28
  }
@@ -2,17 +2,27 @@
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
+
5
15
  function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
6
16
 
7
17
  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; }
8
18
 
9
19
  var Declaration = require('../declaration');
10
20
 
11
- var TextDecorationSkipInk =
12
- /*#__PURE__*/
13
- function (_Declaration) {
21
+ var TextDecorationSkipInk = /*#__PURE__*/function (_Declaration) {
14
22
  _inheritsLoose(TextDecorationSkipInk, _Declaration);
15
23
 
24
+ var _super = _createSuper(TextDecorationSkipInk);
25
+
16
26
  function TextDecorationSkipInk() {
17
27
  return _Declaration.apply(this, arguments) || this;
18
28
  }