instantsearch.js
Advanced tools
Comparing version 4.52.0 to 4.53.0
@@ -71,2 +71,3 @@ "use strict"; | ||
helper: helper, | ||
indexId: helper.state.index, | ||
includedAttributes: includedAttributes, | ||
@@ -82,2 +83,3 @@ excludedAttributes: excludedAttributes | ||
helper: scopedResult.helper, | ||
indexId: scopedResult.indexId, | ||
includedAttributes: includedAttributes, | ||
@@ -109,2 +111,3 @@ excludedAttributes: excludedAttributes | ||
helper = _ref3.helper, | ||
indexId = _ref3.indexId, | ||
includedAttributes = _ref3.includedAttributes, | ||
@@ -124,2 +127,3 @@ excludedAttributes = _ref3.excludedAttributes; | ||
indexName: helper.state.index, | ||
indexId: indexId, | ||
attribute: currentItem.attribute, | ||
@@ -126,0 +130,0 @@ label: currentItem.attribute, |
@@ -7,3 +7,3 @@ "use strict"; | ||
exports.default = void 0; | ||
var _default = '4.52.0'; | ||
var _default = '4.53.0'; | ||
exports.default = _default; |
@@ -104,3 +104,3 @@ "use strict"; | ||
var isCollapsed = _ref4.collapsed; | ||
return "<svg\n class=\"".concat(cssClasses.collapseIcon, "\"\n width=\"1em\"\n height=\"1em\"\n viewBox=\"0 0 500 500\"\n >\n <path d=\"").concat(isCollapsed ? 'M100 250l300-150v300z' : 'M250 400l150-300H100z', "\" fill=\"currentColor\" />\n </svg>"); | ||
return "<svg\n class=\"".concat(cssClasses.collapseIcon, "\"\n style=\"width: 1em; height: 1em;\"\n viewBox=\"0 0 500 500\"\n >\n <path d=\"").concat(isCollapsed ? 'M100 250l300-150v300z' : 'M250 400l150-300H100z', "\" fill=\"currentColor\" />\n </svg>"); | ||
} | ||
@@ -107,0 +107,0 @@ }; |
@@ -42,3 +42,4 @@ "use strict"; | ||
width: "10", | ||
height: "10" | ||
height: "10", | ||
"aria-hidden": "true" | ||
}, _ref2); | ||
@@ -52,3 +53,4 @@ }, | ||
height: "10", | ||
viewBox: "0 0 40 40" | ||
viewBox: "0 0 40 40", | ||
"aria-hidden": "true" | ||
}, _ref4); | ||
@@ -63,3 +65,4 @@ }, | ||
viewBox: "0 0 38 38", | ||
stroke: "#444" | ||
stroke: "#444", | ||
"aria-hidden": "true" | ||
}, _ref6); | ||
@@ -66,0 +69,0 @@ } |
@@ -38,2 +38,6 @@ import type { Connector, TransformItems, CreateURL, WidgetRenderState } from '../../types'; | ||
/** | ||
* The index id as provided to the index widget. | ||
*/ | ||
indexId: string; | ||
/** | ||
* The attribute on which the refinement is applied. | ||
@@ -40,0 +44,0 @@ */ |
@@ -65,2 +65,3 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } | ||
helper: helper, | ||
indexId: helper.state.index, | ||
includedAttributes: includedAttributes, | ||
@@ -76,2 +77,3 @@ excludedAttributes: excludedAttributes | ||
helper: scopedResult.helper, | ||
indexId: scopedResult.indexId, | ||
includedAttributes: includedAttributes, | ||
@@ -103,2 +105,3 @@ excludedAttributes: excludedAttributes | ||
helper = _ref3.helper, | ||
indexId = _ref3.indexId, | ||
includedAttributes = _ref3.includedAttributes, | ||
@@ -118,2 +121,3 @@ excludedAttributes = _ref3.excludedAttributes; | ||
indexName: helper.state.index, | ||
indexId: indexId, | ||
attribute: currentItem.attribute, | ||
@@ -120,0 +124,0 @@ label: currentItem.attribute, |
@@ -1,2 +0,2 @@ | ||
declare const _default: "4.52.0"; | ||
declare const _default: "4.53.0"; | ||
export default _default; |
@@ -1,1 +0,1 @@ | ||
export default '4.52.0'; | ||
export default '4.53.0'; |
@@ -97,3 +97,3 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } | ||
var isCollapsed = _ref4.collapsed; | ||
return "<svg\n class=\"".concat(cssClasses.collapseIcon, "\"\n width=\"1em\"\n height=\"1em\"\n viewBox=\"0 0 500 500\"\n >\n <path d=\"").concat(isCollapsed ? 'M100 250l300-150v300z' : 'M250 400l150-300H100z', "\" fill=\"currentColor\" />\n </svg>"); | ||
return "<svg\n class=\"".concat(cssClasses.collapseIcon, "\"\n style=\"width: 1em; height: 1em;\"\n viewBox=\"0 0 500 500\"\n >\n <path d=\"").concat(isCollapsed ? 'M100 250l300-150v300z' : 'M250 400l150-300H100z', "\" fill=\"currentColor\" />\n </svg>"); | ||
} | ||
@@ -100,0 +100,0 @@ }; |
@@ -36,3 +36,4 @@ import { h } from 'preact'; | ||
width: "10", | ||
height: "10" | ||
height: "10", | ||
"aria-hidden": "true" | ||
}, _ref2); | ||
@@ -46,3 +47,4 @@ }, | ||
height: "10", | ||
viewBox: "0 0 40 40" | ||
viewBox: "0 0 40 40", | ||
"aria-hidden": "true" | ||
}, _ref4); | ||
@@ -57,3 +59,4 @@ }, | ||
viewBox: "0 0 38 38", | ||
stroke: "#444" | ||
stroke: "#444", | ||
"aria-hidden": "true" | ||
}, _ref6); | ||
@@ -60,0 +63,0 @@ } |
{ | ||
"name": "instantsearch.js", | ||
"version": "4.52.0", | ||
"version": "4.53.0", | ||
"description": "InstantSearch.js is a JavaScript library for building performant and instant search experiences with Algolia.", | ||
@@ -58,5 +58,5 @@ "homepage": "https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/js/", | ||
"devDependencies": { | ||
"@instantsearch/mocks": "1.8.0", | ||
"@instantsearch/tests": "1.8.0", | ||
"@instantsearch/testutils": "1.0.11", | ||
"@instantsearch/mocks": "1.9.0", | ||
"@instantsearch/tests": "1.9.0", | ||
"@instantsearch/testutils": "1.0.12", | ||
"@storybook/html": "5.3.9", | ||
@@ -69,3 +69,3 @@ "@types/scriptjs": "0.0.2", | ||
}, | ||
"gitHead": "24ab56e4b18d69cc68919f994f8d8a3f1c880d33" | ||
"gitHead": "a00311c99cae3e6f4b9f659945d46d62347bc6d8" | ||
} |
@@ -13,7 +13,2 @@ <p align="center"> | ||
[![Version][version-svg]][package-url] | ||
[![License][license-image]][license-url] | ||
[![Build Status][ci-svg]][ci-url] | ||
[![Pull reminders][pull-reminders-svg]][pull-reminders-url] | ||
InstantSearch.js is a vanilla JavaScript library that lets you create an instant-search result experience using [Algolia][algolia-website]’s search API. It is part of the InstantSearch family: | ||
@@ -180,15 +175,5 @@ | ||
<!-- Badges --> | ||
<!-- Links --> | ||
[version-svg]: https://img.shields.io/npm/v/instantsearch.js.svg?style=flat-square | ||
[package-url]: https://npmjs.org/package/instantsearch.js | ||
[ci-svg]: https://img.shields.io/circleci/project/github/algolia/instantsearch.js.svg?style=flat-square | ||
[ci-url]: https://circleci.com/gh/algolia/instantsearch.js | ||
[pull-reminders-svg]: https://img.shields.io/badge/pull%20reminders-✓-success.svg?style=flat-square | ||
[pull-reminders-url]: https://pullreminders.com?ref=badge | ||
[license-image]: http://img.shields.io/badge/license-MIT-green.svg?style=flat-square | ||
[license-url]: LICENSE | ||
<!-- Links --> | ||
[algolia-website]: https://www.algolia.com/?utm_source=instantsearch.js&utm_campaign=repository | ||
@@ -195,0 +180,0 @@ [react-instantsearch-github]: https://github.com/algolia/instantsearch.js/ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
6530985
75971
0
189