@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.
- package/CHANGELOG.md +6 -0
- package/README.md +150 -147
- package/dist/css/coreui-standalone.css +1 -1
- package/dist/css/coreui-standalone.css.map +1 -1
- package/dist/css/coreui-standalone.min.css +1 -1
- package/dist/css/coreui-standalone.min.css.map +1 -1
- package/dist/css/coreui.css +1 -1
- package/dist/css/coreui.css.map +1 -1
- package/dist/css/coreui.min.css +1 -1
- package/dist/css/coreui.min.css.map +1 -1
- package/dist/js/coreui-utilities.js +37 -10
- package/dist/js/coreui-utilities.js.map +1 -1
- package/dist/js/coreui-utilities.min.js +2 -2
- package/dist/js/coreui-utilities.min.js.map +1 -1
- package/dist/js/coreui.js +87 -38
- package/dist/js/coreui.js.map +1 -1
- package/dist/js/coreui.min.js +2 -2
- package/dist/js/coreui.min.js.map +1 -1
- package/js/dist/ajax-load.js +8 -2
- package/js/dist/ajax-load.js.map +1 -1
- package/js/dist/aside-menu.js +9 -3
- package/js/dist/aside-menu.js.map +1 -1
- package/js/dist/index.js +1 -1
- package/js/dist/index.js.map +1 -1
- package/js/dist/sidebar.js +33 -23
- package/js/dist/sidebar.js.map +1 -1
- package/js/dist/toggle-classes.js +1 -1
- package/js/dist/toggle-classes.js.map +1 -1
- package/js/dist/utilities/get-color.js +1 -1
- package/js/dist/utilities/get-color.js.map +1 -1
- package/js/dist/utilities/get-css-custom-properties.js +1 -1
- package/js/dist/utilities/get-css-custom-properties.js.map +1 -1
- package/js/dist/utilities/get-style.js +1 -1
- package/js/dist/utilities/get-style.js.map +1 -1
- package/js/dist/utilities/hex-to-rgb.js +1 -1
- package/js/dist/utilities/hex-to-rgb.js.map +1 -1
- package/js/dist/utilities/hex-to-rgba.js +1 -1
- package/js/dist/utilities/hex-to-rgba.js.map +1 -1
- package/js/dist/utilities/rgb-to-hex.js +1 -1
- package/js/dist/utilities/rgb-to-hex.js.map +1 -1
- package/js/src/ajax-load.js +7 -2
- package/js/src/aside-menu.js +8 -3
- package/js/src/index.js +1 -1
- package/js/src/sidebar.js +314 -305
- package/js/src/toggle-classes.js +1 -1
- package/js/src/utilities/classes.js +1 -1
- package/js/src/utilities/get-color.js +1 -1
- package/js/src/utilities/get-css-custom-properties.js +1 -1
- package/js/src/utilities/get-style.js +1 -1
- package/js/src/utilities/hex-to-rgb.js +1 -1
- package/js/src/utilities/hex-to-rgba.js +1 -1
- package/js/src/utilities/rgb-to-hex.js +1 -1
- package/package.json +137 -137
- package/scss/coreui-standalone.scss +1 -1
- package/scss/coreui.scss +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* CoreUI v2.1.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
-
|
|
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.
|
|
1664
|
+
* CoreUI (v2.1.16): rgb-to-hex.js
|
|
1638
1665
|
* Licensed under MIT (https://coreui.io/license)
|
|
1639
1666
|
* --------------------------------------------------------------------------
|
|
1640
1667
|
*/
|