instantsearch.js 4.74.1 → 4.74.2
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/cjs/components/Breadcrumb/Breadcrumb.js +7 -0
- package/cjs/lib/version.js +1 -1
- package/dist/instantsearch.development.js +8 -2
- package/dist/instantsearch.development.js.map +1 -1
- package/dist/instantsearch.production.min.js +2 -2
- package/dist/instantsearch.production.min.js.map +1 -1
- package/es/components/Breadcrumb/Breadcrumb.js +7 -0
- package/es/lib/version.d.ts +1 -1
- package/es/lib/version.js +1 -1
- package/package.json +5 -5
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _instantsearchUiComponents = require("instantsearch-ui-components");
|
|
8
8
|
var _preact = require("preact");
|
|
9
|
+
var _utils = require("../../lib/utils");
|
|
9
10
|
var _Template = _interopRequireDefault(require("../Template/Template"));
|
|
10
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
12
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
@@ -28,6 +29,9 @@ var Breadcrumb = function Breadcrumb(_ref) {
|
|
|
28
29
|
className: cssClasses.link,
|
|
29
30
|
href: createURL(null),
|
|
30
31
|
onClick: function onClick(event) {
|
|
32
|
+
if ((0, _utils.isSpecialClick)(event)) {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
31
35
|
event.preventDefault();
|
|
32
36
|
refine(null);
|
|
33
37
|
}
|
|
@@ -48,6 +52,9 @@ var Breadcrumb = function Breadcrumb(_ref) {
|
|
|
48
52
|
className: cssClasses.link,
|
|
49
53
|
href: createURL(item.value),
|
|
50
54
|
onClick: function onClick(event) {
|
|
55
|
+
if ((0, _utils.isSpecialClick)(event)) {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
51
58
|
event.preventDefault();
|
|
52
59
|
refine(item.value);
|
|
53
60
|
}
|
package/cjs/lib/version.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! InstantSearch.js 4.74.
|
|
1
|
+
/*! InstantSearch.js 4.74.2 | © Algolia, Inc. and contributors; MIT License | https://github.com/algolia/instantsearch */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(factory) :
|
|
@@ -16015,7 +16015,7 @@
|
|
|
16015
16015
|
};
|
|
16016
16016
|
}
|
|
16017
16017
|
|
|
16018
|
-
var version$1 = '4.74.
|
|
16018
|
+
var version$1 = '4.74.2';
|
|
16019
16019
|
|
|
16020
16020
|
var withUsage$v = createDocumentationMessageGenerator({
|
|
16021
16021
|
name: 'instantsearch'
|
|
@@ -19089,6 +19089,9 @@
|
|
|
19089
19089
|
className: cssClasses.link,
|
|
19090
19090
|
href: createURL(null),
|
|
19091
19091
|
onClick: function onClick(event) {
|
|
19092
|
+
if (isSpecialClick(event)) {
|
|
19093
|
+
return;
|
|
19094
|
+
}
|
|
19092
19095
|
event.preventDefault();
|
|
19093
19096
|
refine(null);
|
|
19094
19097
|
}
|
|
@@ -19109,6 +19112,9 @@
|
|
|
19109
19112
|
className: cssClasses.link,
|
|
19110
19113
|
href: createURL(item.value),
|
|
19111
19114
|
onClick: function onClick(event) {
|
|
19115
|
+
if (isSpecialClick(event)) {
|
|
19116
|
+
return;
|
|
19117
|
+
}
|
|
19112
19118
|
event.preventDefault();
|
|
19113
19119
|
refine(item.value);
|
|
19114
19120
|
}
|