@coreui/coreui 2.1.15 → 2.1.16

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 (55) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +150 -147
  3. package/dist/css/coreui-standalone.css +1 -1
  4. package/dist/css/coreui-standalone.css.map +1 -1
  5. package/dist/css/coreui-standalone.min.css +1 -1
  6. package/dist/css/coreui-standalone.min.css.map +1 -1
  7. package/dist/css/coreui.css +1 -1
  8. package/dist/css/coreui.css.map +1 -1
  9. package/dist/css/coreui.min.css +1 -1
  10. package/dist/css/coreui.min.css.map +1 -1
  11. package/dist/js/coreui-utilities.js +37 -10
  12. package/dist/js/coreui-utilities.js.map +1 -1
  13. package/dist/js/coreui-utilities.min.js +2 -2
  14. package/dist/js/coreui-utilities.min.js.map +1 -1
  15. package/dist/js/coreui.js +87 -38
  16. package/dist/js/coreui.js.map +1 -1
  17. package/dist/js/coreui.min.js +2 -2
  18. package/dist/js/coreui.min.js.map +1 -1
  19. package/js/dist/ajax-load.js +8 -2
  20. package/js/dist/ajax-load.js.map +1 -1
  21. package/js/dist/aside-menu.js +9 -3
  22. package/js/dist/aside-menu.js.map +1 -1
  23. package/js/dist/index.js +1 -1
  24. package/js/dist/index.js.map +1 -1
  25. package/js/dist/sidebar.js +33 -23
  26. package/js/dist/sidebar.js.map +1 -1
  27. package/js/dist/toggle-classes.js +1 -1
  28. package/js/dist/toggle-classes.js.map +1 -1
  29. package/js/dist/utilities/get-color.js +1 -1
  30. package/js/dist/utilities/get-color.js.map +1 -1
  31. package/js/dist/utilities/get-css-custom-properties.js +1 -1
  32. package/js/dist/utilities/get-css-custom-properties.js.map +1 -1
  33. package/js/dist/utilities/get-style.js +1 -1
  34. package/js/dist/utilities/get-style.js.map +1 -1
  35. package/js/dist/utilities/hex-to-rgb.js +1 -1
  36. package/js/dist/utilities/hex-to-rgb.js.map +1 -1
  37. package/js/dist/utilities/hex-to-rgba.js +1 -1
  38. package/js/dist/utilities/hex-to-rgba.js.map +1 -1
  39. package/js/dist/utilities/rgb-to-hex.js +1 -1
  40. package/js/dist/utilities/rgb-to-hex.js.map +1 -1
  41. package/js/src/ajax-load.js +7 -2
  42. package/js/src/aside-menu.js +8 -3
  43. package/js/src/index.js +1 -1
  44. package/js/src/sidebar.js +314 -305
  45. package/js/src/toggle-classes.js +1 -1
  46. package/js/src/utilities/classes.js +1 -1
  47. package/js/src/utilities/get-color.js +1 -1
  48. package/js/src/utilities/get-css-custom-properties.js +1 -1
  49. package/js/src/utilities/get-style.js +1 -1
  50. package/js/src/utilities/hex-to-rgb.js +1 -1
  51. package/js/src/utilities/hex-to-rgba.js +1 -1
  52. package/js/src/utilities/rgb-to-hex.js +1 -1
  53. package/package.json +137 -137
  54. package/scss/coreui-standalone.scss +1 -1
  55. package/scss/coreui.scss +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * CoreUI v2.1.15 (https://coreui.io)
2
+ * CoreUI v2.1.16 (https://coreui.io)
3
3
  * Copyright 2019 Łukasz Holeczek
4
4
  * Licensed under MIT (https://coreui.io)
5
5
  */
@@ -11,7 +11,7 @@
11
11
 
12
12
  /**
13
13
  * --------------------------------------------------------------------------
14
- * CoreUI Utilities (v2.1.15): classes.js
14
+ * CoreUI Utilities (v2.1.16): classes.js
15
15
  * Licensed under MIT (https://coreui.io/license)
16
16
  * --------------------------------------------------------------------------
17
17
  */
@@ -218,7 +218,7 @@
218
218
  (module.exports = function (key, value) {
219
219
  return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
220
220
  })('versions', []).push({
221
- version: '3.3.3',
221
+ version: '3.3.4',
222
222
  mode: 'global',
223
223
  copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
224
224
  });
@@ -732,15 +732,22 @@
732
732
  // Symbol-named RegExp methods call .exec
733
733
  var execCalled = false;
734
734
  var re = /a/;
735
- re.exec = function () { execCalled = true; return null; };
736
735
 
737
736
  if (KEY === 'split') {
737
+ // We can't use real regex here since it causes deoptimization
738
+ // and serious performance degradation in V8
739
+ // https://github.com/zloirock/core-js/issues/306
740
+ re = {};
738
741
  // RegExp[@@split] doesn't call the regex's exec method, but first creates
739
742
  // a new one. We need to return the patched regex when creating the new one.
740
743
  re.constructor = {};
741
744
  re.constructor[SPECIES] = function () { return re; };
745
+ re.flags = '';
746
+ re[SYMBOL] = /./[SYMBOL];
742
747
  }
743
748
 
749
+ re.exec = function () { execCalled = true; return null; };
750
+
744
751
  re[SYMBOL]('');
745
752
  return !execCalled;
746
753
  });
@@ -1357,7 +1364,7 @@
1357
1364
 
1358
1365
  /**
1359
1366
  * --------------------------------------------------------------------------
1360
- * CoreUI Utilities (v2.1.15): get-css-custom-properties.js
1367
+ * CoreUI Utilities (v2.1.16): get-css-custom-properties.js
1361
1368
  * Licensed under MIT (https://coreui.io/license)
1362
1369
  * @returns {string} css custom property name
1363
1370
  * --------------------------------------------------------------------------
@@ -1425,7 +1432,7 @@
1425
1432
 
1426
1433
  /**
1427
1434
  * --------------------------------------------------------------------------
1428
- * CoreUI Utilities (v2.1.15): get-color.js
1435
+ * CoreUI Utilities (v2.1.16): get-color.js
1429
1436
  * Licensed under MIT (https://coreui.io/license)
1430
1437
  * --------------------------------------------------------------------------
1431
1438
  */
@@ -1442,7 +1449,7 @@
1442
1449
 
1443
1450
  /**
1444
1451
  * --------------------------------------------------------------------------
1445
- * CoreUI Utilities (v2.1.15): hex-to-rgb.js
1452
+ * CoreUI Utilities (v2.1.16): hex-to-rgb.js
1446
1453
  * Licensed under MIT (https://coreui.io/license)
1447
1454
  * --------------------------------------------------------------------------
1448
1455
  */
@@ -1478,7 +1485,7 @@
1478
1485
 
1479
1486
  /**
1480
1487
  * --------------------------------------------------------------------------
1481
- * CoreUI Utilities (v2.1.15): hex-to-rgba.js
1488
+ * CoreUI Utilities (v2.1.16): hex-to-rgba.js
1482
1489
  * Licensed under MIT (https://coreui.io/license)
1483
1490
  * --------------------------------------------------------------------------
1484
1491
  */
@@ -1522,10 +1529,30 @@
1522
1529
  else object[propertyKey] = value;
1523
1530
  };
1524
1531
 
1532
+ var userAgent = getBuiltIn('navigator', 'userAgent') || '';
1533
+
1534
+ var process = global_1.process;
1535
+ var versions = process && process.versions;
1536
+ var v8 = versions && versions.v8;
1537
+ var match, version;
1538
+
1539
+ if (v8) {
1540
+ match = v8.split('.');
1541
+ version = match[0] + match[1];
1542
+ } else if (userAgent) {
1543
+ match = userAgent.match(/Chrome\/(\d+)/);
1544
+ if (match) version = match[1];
1545
+ }
1546
+
1547
+ var v8Version = version && +version;
1548
+
1525
1549
  var SPECIES$3 = wellKnownSymbol('species');
1526
1550
 
1527
1551
  var arrayMethodHasSpeciesSupport = function (METHOD_NAME) {
1528
- return !fails(function () {
1552
+ // We can't use this feature detection in V8 since it causes
1553
+ // deoptimization and serious performance degradation
1554
+ // https://github.com/zloirock/core-js/issues/677
1555
+ return v8Version >= 51 || !fails(function () {
1529
1556
  var array = [];
1530
1557
  var constructor = array.constructor = {};
1531
1558
  constructor[SPECIES$3] = function () {
@@ -1634,7 +1661,7 @@
1634
1661
 
1635
1662
  /**
1636
1663
  * --------------------------------------------------------------------------
1637
- * CoreUI (v2.1.15): rgb-to-hex.js
1664
+ * CoreUI (v2.1.16): rgb-to-hex.js
1638
1665
  * Licensed under MIT (https://coreui.io/license)
1639
1666
  * --------------------------------------------------------------------------
1640
1667
  */