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
@@ -2,8 +2,22 @@
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 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); }
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(n); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
8
+
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
+
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
+
5
15
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
6
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
+
7
21
  function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
8
22
 
9
23
  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; }
@@ -20,11 +34,11 @@ var utils = require('../utils');
20
34
 
21
35
  var IS_DIRECTION = /top|left|right|bottom/gi;
22
36
 
23
- var Gradient =
24
- /*#__PURE__*/
25
- function (_Value) {
37
+ var Gradient = /*#__PURE__*/function (_Value) {
26
38
  _inheritsLoose(Gradient, _Value);
27
39
 
40
+ var _super = _createSuper(Gradient);
41
+
28
42
  function Gradient() {
29
43
  var _this;
30
44
 
@@ -67,19 +81,8 @@ function (_Value) {
67
81
  _proto.replace = function replace(string, prefix) {
68
82
  var ast = parser(string);
69
83
 
70
- for (var _iterator = ast.nodes, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {
71
- var _ref;
72
-
73
- if (_isArray) {
74
- if (_i >= _iterator.length) break;
75
- _ref = _iterator[_i++];
76
- } else {
77
- _i = _iterator.next();
78
- if (_i.done) break;
79
- _ref = _i.value;
80
- }
81
-
82
- var node = _ref;
84
+ for (var _iterator = _createForOfIteratorHelperLoose(ast.nodes), _step; !(_step = _iterator()).done;) {
85
+ var node = _step.value;
83
86
 
84
87
  if (node.type === 'function' && node.value === this.name) {
85
88
  node.nodes = this.newDirection(node.nodes);
@@ -211,19 +214,8 @@ function (_Value) {
211
214
  _proto.isRadial = function isRadial(params) {
212
215
  var state = 'before';
213
216
 
214
- for (var _iterator2 = params, _isArray2 = Array.isArray(_iterator2), _i2 = 0, _iterator2 = _isArray2 ? _iterator2 : _iterator2[Symbol.iterator]();;) {
215
- var _ref2;
216
-
217
- if (_isArray2) {
218
- if (_i2 >= _iterator2.length) break;
219
- _ref2 = _iterator2[_i2++];
220
- } else {
221
- _i2 = _iterator2.next();
222
- if (_i2.done) break;
223
- _ref2 = _i2.value;
224
- }
225
-
226
- var param = _ref2;
217
+ for (var _iterator2 = _createForOfIteratorHelperLoose(params), _step2; !(_step2 = _iterator2()).done;) {
218
+ var param = _step2.value;
227
219
 
228
220
  if (state === 'before' && param.type === 'space') {
229
221
  state = 'at';
@@ -266,19 +258,8 @@ function (_Value) {
266
258
  _proto.fixDirection = function fixDirection(params) {
267
259
  params.splice(0, 2);
268
260
 
269
- for (var _iterator3 = params, _isArray3 = Array.isArray(_iterator3), _i3 = 0, _iterator3 = _isArray3 ? _iterator3 : _iterator3[Symbol.iterator]();;) {
270
- var _ref3;
271
-
272
- if (_isArray3) {
273
- if (_i3 >= _iterator3.length) break;
274
- _ref3 = _iterator3[_i3++];
275
- } else {
276
- _i3 = _iterator3.next();
277
- if (_i3.done) break;
278
- _ref3 = _i3.value;
279
- }
280
-
281
- var param = _ref3;
261
+ for (var _iterator3 = _createForOfIteratorHelperLoose(params), _step3; !(_step3 = _iterator3()).done;) {
262
+ var param = _step3.value;
282
263
 
283
264
  if (param.type === 'div') {
284
265
  break;
@@ -372,19 +353,8 @@ function (_Value) {
372
353
 
373
354
  var params = [[]];
374
355
 
375
- for (var _iterator4 = nodes, _isArray4 = Array.isArray(_iterator4), _i4 = 0, _iterator4 = _isArray4 ? _iterator4 : _iterator4[Symbol.iterator]();;) {
376
- var _ref4;
377
-
378
- if (_isArray4) {
379
- if (_i4 >= _iterator4.length) break;
380
- _ref4 = _iterator4[_i4++];
381
- } else {
382
- _i4 = _iterator4.next();
383
- if (_i4.done) break;
384
- _ref4 = _i4.value;
385
- }
386
-
387
- var i = _ref4;
356
+ for (var _iterator4 = _createForOfIteratorHelperLoose(nodes), _step4; !(_step4 = _iterator4()).done;) {
357
+ var i = _step4.value;
388
358
  params[params.length - 1].push(i);
389
359
 
390
360
  if (i.type === 'div' && i.value === ',') {
@@ -396,8 +366,8 @@ function (_Value) {
396
366
  this.colorStops(params);
397
367
  node.nodes = [];
398
368
 
399
- for (var _i5 = 0, _params = params; _i5 < _params.length; _i5++) {
400
- var param = _params[_i5];
369
+ for (var _i = 0, _params = params; _i < _params.length; _i++) {
370
+ var param = _params[_i];
401
371
  node.nodes = node.nodes.concat(param);
402
372
  }
403
373
 
@@ -424,19 +394,8 @@ function (_Value) {
424
394
  } else {
425
395
  var words = [];
426
396
 
427
- for (var _iterator5 = params[0].slice(2), _isArray5 = Array.isArray(_iterator5), _i6 = 0, _iterator5 = _isArray5 ? _iterator5 : _iterator5[Symbol.iterator]();;) {
428
- var _ref5;
429
-
430
- if (_isArray5) {
431
- if (_i6 >= _iterator5.length) break;
432
- _ref5 = _iterator5[_i6++];
433
- } else {
434
- _i6 = _iterator5.next();
435
- if (_i6.done) break;
436
- _ref5 = _i6.value;
437
- }
438
-
439
- var node = _ref5;
397
+ for (var _iterator5 = _createForOfIteratorHelperLoose(params[0].slice(2)), _step5; !(_step5 = _iterator5()).done;) {
398
+ var node = _step5.value;
440
399
 
441
400
  if (node.type === 'word') {
442
401
  words.push(node.value.toLowerCase());
@@ -458,19 +417,8 @@ function (_Value) {
458
417
  ;
459
418
 
460
419
  _proto.cloneDiv = function cloneDiv(params) {
461
- for (var _iterator6 = params, _isArray6 = Array.isArray(_iterator6), _i7 = 0, _iterator6 = _isArray6 ? _iterator6 : _iterator6[Symbol.iterator]();;) {
462
- var _ref6;
463
-
464
- if (_isArray6) {
465
- if (_i7 >= _iterator6.length) break;
466
- _ref6 = _iterator6[_i7++];
467
- } else {
468
- _i7 = _iterator6.next();
469
- if (_i7.done) break;
470
- _ref6 = _i7.value;
471
- }
472
-
473
- var i = _ref6;
420
+ for (var _iterator6 = _createForOfIteratorHelperLoose(params), _step6; !(_step6 = _iterator6()).done;) {
421
+ var i = _step6.value;
474
422
 
475
423
  if (i.type === 'div' && i.value === ',') {
476
424
  return i;
@@ -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 GridArea =
14
- /*#__PURE__*/
15
- function (_Declaration) {
23
+ var GridArea = /*#__PURE__*/function (_Declaration) {
16
24
  _inheritsLoose(GridArea, _Declaration);
17
25
 
26
+ var _super = _createSuper(GridArea);
27
+
18
28
  function GridArea() {
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 GridColumnAlign =
12
- /*#__PURE__*/
13
- function (_Declaration) {
21
+ var GridColumnAlign = /*#__PURE__*/function (_Declaration) {
14
22
  _inheritsLoose(GridColumnAlign, _Declaration);
15
23
 
24
+ var _super = _createSuper(GridColumnAlign);
25
+
16
26
  function GridColumnAlign() {
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 GridEnd =
12
- /*#__PURE__*/
13
- function (_Declaration) {
21
+ var GridEnd = /*#__PURE__*/function (_Declaration) {
14
22
  _inheritsLoose(GridEnd, _Declaration);
15
23
 
24
+ var _super = _createSuper(GridEnd);
25
+
16
26
  function GridEnd() {
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 GridRowAlign =
12
- /*#__PURE__*/
13
- function (_Declaration) {
21
+ var GridRowAlign = /*#__PURE__*/function (_Declaration) {
14
22
  _inheritsLoose(GridRowAlign, _Declaration);
15
23
 
24
+ var _super = _createSuper(GridRowAlign);
25
+
16
26
  function GridRowAlign() {
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 Declaration = require('../declaration');
10
20
 
11
21
  var utils = require('./grid-utils');
12
22
 
13
- var GridRowColumn =
14
- /*#__PURE__*/
15
- function (_Declaration) {
23
+ var GridRowColumn = /*#__PURE__*/function (_Declaration) {
16
24
  _inheritsLoose(GridRowColumn, _Declaration);
17
25
 
26
+ var _super = _createSuper(GridRowColumn);
27
+
18
28
  function GridRowColumn() {
19
29
  return _Declaration.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; }
@@ -17,11 +27,11 @@ var _require = require('./grid-utils'),
17
27
 
18
28
  var Processor = require('../processor');
19
29
 
20
- var GridRowsColumns =
21
- /*#__PURE__*/
22
- function (_Declaration) {
30
+ var GridRowsColumns = /*#__PURE__*/function (_Declaration) {
23
31
  _inheritsLoose(GridRowsColumns, _Declaration);
24
32
 
33
+ var _super = _createSuper(GridRowsColumns);
34
+
25
35
  function GridRowsColumns() {
26
36
  return _Declaration.apply(this, arguments) || this;
27
37
  }
@@ -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 GridStart =
12
- /*#__PURE__*/
13
- function (_Declaration) {
21
+ var GridStart = /*#__PURE__*/function (_Declaration) {
14
22
  _inheritsLoose(GridStart, _Declaration);
15
23
 
24
+ var _super = _createSuper(GridStart);
25
+
16
26
  function GridStart() {
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; }
@@ -18,14 +28,14 @@ var _require = require('./grid-utils'),
18
28
  inheritGridGap = _require.inheritGridGap;
19
29
 
20
30
  function getGridRows(tpl) {
21
- return tpl.trim().slice(1, -1).split(/['"]\s*['"]?/g);
31
+ return tpl.trim().slice(1, -1).split(/["']\s*["']?/g);
22
32
  }
23
33
 
24
- var GridTemplateAreas =
25
- /*#__PURE__*/
26
- function (_Declaration) {
34
+ var GridTemplateAreas = /*#__PURE__*/function (_Declaration) {
27
35
  _inheritsLoose(GridTemplateAreas, _Declaration);
28
36
 
37
+ var _super = _createSuper(GridTemplateAreas);
38
+
29
39
  function GridTemplateAreas() {
30
40
  return _Declaration.apply(this, arguments) || this;
31
41
  }
@@ -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; }
@@ -15,11 +25,11 @@ var _require = require('./grid-utils'),
15
25
  warnGridGap = _require.warnGridGap,
16
26
  inheritGridGap = _require.inheritGridGap;
17
27
 
18
- var GridTemplate =
19
- /*#__PURE__*/
20
- function (_Declaration) {
28
+ var GridTemplate = /*#__PURE__*/function (_Declaration) {
21
29
  _inheritsLoose(GridTemplate, _Declaration);
22
30
 
31
+ var _super = _createSuper(GridTemplate);
32
+
23
33
  function GridTemplate() {
24
34
  return _Declaration.apply(this, arguments) || this;
25
35
  }