@jetbrains/ring-ui-built 6.0.24 → 6.0.25
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.
@@ -11,11 +11,11 @@ var MAJOR_VERSION_INDEX = 0;
|
|
11
11
|
/**
|
12
12
|
* SUPPORTED_BROWSERS are defined by Babel plugin, see babel config
|
13
13
|
*/
|
14
|
-
if (!["and_chr
|
14
|
+
if (!["and_chr 124", "chrome 124", "chrome 123", "chrome 122", "chrome 109", "edge 124", "edge 123", "firefox 124", "ios_saf 17.4", "ios_saf 17.3", "ios_saf 16.6-16.7", "op_mob 80", "safari 17.4", "samsung 24"]) {
|
15
15
|
// eslint-disable-next-line no-console
|
16
16
|
console.warn('Ring UI: no SUPPORTED_BROWSERS passed. Please check babel config.');
|
17
17
|
}
|
18
|
-
var SUPPORTED = ["and_chr
|
18
|
+
var SUPPORTED = ["and_chr 124", "chrome 124", "chrome 123", "chrome 122", "chrome 109", "edge 124", "edge 123", "firefox 124", "ios_saf 17.4", "ios_saf 17.3", "ios_saf 16.6-16.7", "op_mob 80", "safari 17.4", "samsung 24"] || [];
|
19
19
|
var WHITE_LISTED_BROWSERS = ['chrome', 'firefox', 'safari', 'edge'];
|
20
20
|
var WHITE_LIST = SUPPORTED.reduce(function (acc, item) {
|
21
21
|
var _item$match;
|
@@ -65,7 +65,7 @@ var isPossibleClientSideNavigation = function isPossibleClientSideNavigation(eve
|
|
65
65
|
// Not open in new tab by user
|
66
66
|
!event.shiftKey &&
|
67
67
|
// Not open in new window by user
|
68
|
-
event.defaultPrevented;
|
68
|
+
!event.defaultPrevented;
|
69
69
|
};
|
70
70
|
var stop = function stop(event) {
|
71
71
|
if (!isPossibleClientSideNavigation(event)) {
|