instantsearch.js 4.46.2 → 4.47.0
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 +23 -0
- package/cjs/components/CurrentRefinements/CurrentRefinements.js +9 -2
- package/cjs/connectors/hierarchical-menu/connectHierarchicalMenu.js +4 -1
- package/cjs/lib/InstantSearch.js +45 -6
- package/cjs/lib/utils/createSendEventForFacet.js +2 -1
- package/cjs/lib/utils/createSendEventForHits.js +1 -1
- package/cjs/lib/utils/index.js +13 -0
- package/cjs/lib/utils/render-args.js +47 -0
- package/cjs/lib/version.js +1 -1
- package/cjs/middlewares/createMetadataMiddleware.js +1 -15
- package/cjs/widgets/current-refinements/current-refinements.js +7 -2
- package/cjs/widgets/hierarchical-menu/defaultTemplates.js +3 -2
- package/cjs/widgets/hierarchical-menu/hierarchical-menu.js +4 -0
- package/cjs/widgets/index/index.js +6 -84
- package/dist/instantsearch.development.d.ts +31 -4
- package/dist/instantsearch.development.js +117 -116
- package/dist/instantsearch.development.js.map +1 -1
- package/dist/instantsearch.production.d.ts +31 -4
- package/dist/instantsearch.production.min.d.ts +31 -4
- package/dist/instantsearch.production.min.js +2 -2
- package/dist/instantsearch.production.min.js.map +1 -1
- package/es/components/CurrentRefinements/CurrentRefinements.d.ts +2 -1
- package/es/components/CurrentRefinements/CurrentRefinements.js +6 -2
- package/es/connectors/hierarchical-menu/connectHierarchicalMenu.js +4 -1
- package/es/connectors/search-box/connectSearchBox.d.ts +1 -0
- package/es/lib/InstantSearch.d.ts +17 -4
- package/es/lib/InstantSearch.js +45 -6
- package/es/lib/utils/createSendEventForFacet.d.ts +4 -3
- package/es/lib/utils/createSendEventForFacet.js +2 -1
- package/es/lib/utils/createSendEventForHits.js +1 -1
- package/es/lib/utils/defer.d.ts +2 -2
- package/es/lib/utils/index.d.ts +1 -0
- package/es/lib/utils/index.js +1 -0
- package/es/lib/utils/render-args.d.ts +34 -0
- package/es/lib/utils/render-args.js +38 -0
- package/es/lib/version.d.ts +1 -1
- package/es/lib/version.js +1 -1
- package/es/middlewares/createMetadataMiddleware.js +2 -16
- package/es/types/widget.d.ts +4 -0
- package/es/widgets/current-refinements/current-refinements.d.ts +4 -0
- package/es/widgets/current-refinements/current-refinements.js +7 -2
- package/es/widgets/hierarchical-menu/defaultTemplates.js +3 -2
- package/es/widgets/hierarchical-menu/hierarchical-menu.d.ts +4 -0
- package/es/widgets/hierarchical-menu/hierarchical-menu.js +4 -0
- package/es/widgets/index/index.js +7 -85
- package/package.json +7 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "instantsearch.js",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.47.0",
|
|
4
4
|
"description": "InstantSearch.js is a JavaScript library for building performant and instant search experiences with Algolia.",
|
|
5
5
|
"homepage": "https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/js/",
|
|
6
6
|
"types": "es/index.d.ts",
|
|
@@ -81,16 +81,16 @@
|
|
|
81
81
|
"@storybook/addon-actions": "5.3.9",
|
|
82
82
|
"@storybook/html": "5.3.9",
|
|
83
83
|
"@storybook/theming": "5.3.9",
|
|
84
|
-
"@testing-library/dom": "
|
|
85
|
-
"@testing-library/jest-dom": "
|
|
86
|
-
"@testing-library/preact": "
|
|
84
|
+
"@testing-library/dom": "8.18.1",
|
|
85
|
+
"@testing-library/jest-dom": "5.16.5",
|
|
86
|
+
"@testing-library/preact": "3.2.2",
|
|
87
87
|
"@types/classnames": "^2.2.7",
|
|
88
88
|
"@types/enzyme": "^3.1.15",
|
|
89
89
|
"@types/jest": "^27.0.1",
|
|
90
90
|
"@types/jsdom": "^16.2.13",
|
|
91
91
|
"@types/scriptjs": "^0.0.2",
|
|
92
92
|
"@types/storybook__addon-actions": "^3.4.2",
|
|
93
|
-
"@typescript-eslint/eslint-plugin": "
|
|
93
|
+
"@typescript-eslint/eslint-plugin": "5.38.1",
|
|
94
94
|
"@typescript-eslint/parser": "4.15.1",
|
|
95
95
|
"@wdio/cli": "5.16.9",
|
|
96
96
|
"@wdio/jasmine-framework": "5.16.5",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"eslint-plugin-eslint-comments": "3.2.0",
|
|
122
122
|
"eslint-plugin-import": "2.18.2",
|
|
123
123
|
"eslint-plugin-jasmine": "4.1.0",
|
|
124
|
-
"eslint-plugin-jest": "
|
|
124
|
+
"eslint-plugin-jest": "27.0.4",
|
|
125
125
|
"eslint-plugin-prettier": "3.4.0",
|
|
126
126
|
"eslint-plugin-react": "7.18.0",
|
|
127
127
|
"eslint-plugin-react-hooks": "2.3.0",
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
},
|
|
164
164
|
{
|
|
165
165
|
"path": "./dist/instantsearch.development.js",
|
|
166
|
-
"maxSize": "
|
|
166
|
+
"maxSize": "160 kB"
|
|
167
167
|
}
|
|
168
168
|
]
|
|
169
169
|
}
|