- InstantSearch is a JavaScript library for building performant and instant search experiences in vanilla JS, React, Vue and Angular with Algolia.
+ InstantSearch is a JavaScript library for building performant and instant search experiences in vanilla JS, React and Vue with Algolia.
@@ -14,11 +14,11 @@
[InstantSearch][instantsearch-docs] is a JavaScript library that lets you create an instant-search result experience using [Algolia][algolia-website]’s search API.
-There are multiple wrappers for popular frameworks, such as [React InstantSearch][react-instantsearch-docs], [Vue InstantSearch][vue-instantsearch-docs], and [Angular InstantSearch][angular-instantsearch-docs].
+There are multiple wrappers for popular frameworks, such as [React InstantSearch][react-instantsearch-docs] and [Vue InstantSearch][vue-instantsearch-docs].
It is part of the InstantSearch family which is designed for different platforms:
-**InstantSearch** | [Angular InstantSearch][instantsearch-angular-github] | [InstantSearch Android][instantsearch-android-github] | [InstantSearch iOS][instantsearch-ios-github]
+**InstantSearch** | [InstantSearch Android][instantsearch-android-github] | [InstantSearch iOS][instantsearch-ios-github]
Table of contents
@@ -81,10 +81,8 @@ InstantSearch is [MIT licensed][license-url].
[instantsearch-docs]: https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/js/?utm_source=instantsearch.js&utm_campaign=repository 'InstantSearch.js documentation'
[react-instantsearch-docs]: https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/react/?utm_source=instantsearch.js&utm_campaign=repository 'React InstantSearch documentation'
[vue-instantsearch-docs]: https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/vue/?utm_source=instantsearch.js&utm_campaign=repository 'Vue InstantSearch documentation'
-[angular-instantsearch-docs]: https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/angular/?utm_source=instantsearch.js&utm_campaign=repository 'Angular InstantSearch documentation'
[instantsearch-android-github]: https://github.com/algolia/instantsearch-android
[instantsearch-ios-github]: https://github.com/algolia/instantsearch-ios
-[instantsearch-angular-github]: https://github.com/algolia/angular-instantsearch
[contributing-bugreport]: https://github.com/algolia/instantsearch/issues/new?template=BUG_REPORT.yml&labels=triage
[contributing-featurerequest]: https://github.com/algolia/instantsearch/discussions/new?category=ideas&labels=triage&title=Feature%20request%3A%20
[contributing-newissue]: https://github.com/algolia/instantsearch/issues/new?labels=triage
diff --git a/examples/js/e-commerce-umd/src/theme.css b/examples/js/e-commerce-umd/src/theme.css
index e2313f7052..ad38876d92 100644
--- a/examples/js/e-commerce-umd/src/theme.css
+++ b/examples/js/e-commerce-umd/src/theme.css
@@ -10,11 +10,6 @@ a[class^='ais-'] {
text-decoration: none;
}
-/*
- We need to target the root element because Angular InstantSearch
- creates web components which are not targetable with the `*` selector.
-*/
-[class^='ais-'][class$='--disabled'],
/*
We need to target all elements for widgets containing
multiple sub elements (e.g. RangeSlider)
diff --git a/examples/js/e-commerce/src/theme.css b/examples/js/e-commerce/src/theme.css
index e2313f7052..ad38876d92 100644
--- a/examples/js/e-commerce/src/theme.css
+++ b/examples/js/e-commerce/src/theme.css
@@ -10,11 +10,6 @@ a[class^='ais-'] {
text-decoration: none;
}
-/*
- We need to target the root element because Angular InstantSearch
- creates web components which are not targetable with the `*` selector.
-*/
-[class^='ais-'][class$='--disabled'],
/*
We need to target all elements for widgets containing
multiple sub elements (e.g. RangeSlider)
diff --git a/examples/js/media/src/theme.css b/examples/js/media/src/theme.css
index a4ae06b7f2..662caf8a58 100644
--- a/examples/js/media/src/theme.css
+++ b/examples/js/media/src/theme.css
@@ -10,11 +10,6 @@ a[class^='ais-'] {
text-decoration: none;
}
-/*
- We need to target the root element because Angular InstantSearch
- creates web components which are not targetable with the `*` selector.
-*/
-[class^='ais-'][class$='--disabled'],
/*
We need to target all elements for widgets containing
multiple sub elements (e.g. RangeSlider)
diff --git a/examples/react/e-commerce/Theme.css b/examples/react/e-commerce/Theme.css
index 263d67f06d..6c4a978fb3 100644
--- a/examples/react/e-commerce/Theme.css
+++ b/examples/react/e-commerce/Theme.css
@@ -10,11 +10,6 @@ a[class^='ais-'] {
text-decoration: none;
}
-/*
- We need to target the root element because Angular InstantSearch
- creates web components which are not targetable with the `*` selector.
-*/
-[class^='ais-'][class$='--disabled'],
/*
We need to target all elements for widgets containing
multiple sub elements (e.g. RangeSlider)
diff --git a/examples/vue/e-commerce/src/Theme.css b/examples/vue/e-commerce/src/Theme.css
index cdb61df4a8..370747d6ad 100644
--- a/examples/vue/e-commerce/src/Theme.css
+++ b/examples/vue/e-commerce/src/Theme.css
@@ -10,11 +10,6 @@ a[class^='ais-'] {
text-decoration: none;
}
-/*
- We need to target the root element because Angular InstantSearch
- creates web components which are not targetable with the `*` selector.
-*/
-[class^='ais-'][class$='--disabled'],
/*
We need to target all elements for widgets containing
multiple sub elements (e.g. RangeSlider)
diff --git a/packages/create-instantsearch-app/README.md b/packages/create-instantsearch-app/README.md
index 5e25792e2b..9af8acd9e9 100644
--- a/packages/create-instantsearch-app/README.md
+++ b/packages/create-instantsearch-app/README.md
@@ -4,7 +4,7 @@
[![Version][version-svg]][package-url] [![License][license-image]][license-url] [![Build Status][ci-svg]][ci-url]
-`create-instantsearch-app` is a command line utility that helps you quick start your InstantSearch app using any [Algolia][algolia-website] InstantSearch flavor ([InstantSearch.js][instantsearchjs-github], [React InstantSearch][react-instantsearch-github], [Vue InstantSearch][vue-instantsearch-github], [Angular InstantSearch][angular-instantsearch-github], [InstantSearch iOS][instantsearch-ios-github] and [InstantSearch Android][instantsearch-android-github]).
+`create-instantsearch-app` is a command line utility that helps you quick start your InstantSearch app using any [Algolia][algolia-website] InstantSearch flavor ([InstantSearch.js][instantsearchjs-github], [React InstantSearch][react-instantsearch-github], [Vue InstantSearch][vue-instantsearch-github], [InstantSearch iOS][instantsearch-ios-github] and [InstantSearch Android][instantsearch-android-github]).
@@ -50,9 +50,7 @@ cd my-app
yarn start
```
-> **Important**
-> Selecting 'Y' when being prompted to ‘Enable user events’ activates the [`insights`](https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/#widget-param-insights) option for compatible templates, allowing Algolia to process your user Events. Events can unlock powerful features, enhancing your application's effectiveness and we encourage you to consider enabling this valuable functionality. Please review our [API reference](https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/#widget-param-insights) for more details about Events collection and settings.
-
+> **Important** Selecting 'Y' when being prompted to ‘Enable user events’ activates the [`insights`](https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/#widget-param-insights) option for compatible templates, allowing Algolia to process your user Events. Events can unlock powerful features, enhancing your application's effectiveness and we encourage you to consider enabling this valuable functionality. Please review our [API reference](https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/#widget-param-insights) for more details about Events collection and settings.
## Usage
@@ -89,7 +87,6 @@ Supported templates are:
- [`React InstantSearch`][react-instantsearch-github]
- [`React InstantSearch Native`][react-instantsearch-github]
- [`Vue InstantSearch`][vue-instantsearch-github]
-- [`Angular InstantSearch`][angular-instantsearch-github]
- [`InstantSearch iOS`][instantsearch-ios-github]
- [`InstantSearch Android`][instantsearch-android-github]
@@ -158,7 +155,6 @@ You can use the web templates on CodeSandbox:
- [InstantSearch.js](https://codesandbox.io/s/github/algolia/instantsearch/tree/templates/instantsearch.js)
- [React InstantSearch](https://codesandbox.io/s/github/algolia/instantsearch/tree/templates/react-instantsearch)
- [Vue InstantSearch](https://codesandbox.io/s/github/algolia/instantsearch/tree/templates/vue-instantsearch)
-- [Angular InstantSearch](https://codesandbox.io/s/github/algolia/instantsearch/tree/templates/angular-instantsearch)
- [Autocomplete.js](https://codesandbox.io/s/github/algolia/instantsearch/tree/templates/autocomplete.js)
- [JavaScript Client](https://codesandbox.io/s/github/algolia/instantsearch/tree/templates/javascript-client)
- [JavaScript Helper](https://codesandbox.io/s/github/algolia/instantsearch/tree/templates/javascript-helper)
@@ -198,7 +194,6 @@ Create InstantSearch App is [MIT licensed](LICENSE).
[instantsearchjs-github]: https://github.com/algolia/instantsearch/tree/master/packages/instantsearch.js
[react-instantsearch-github]: https://github.com/algolia/instantsearch/tree/master/packages/react-instantsearch
[vue-instantsearch-github]: https://github.com/algolia/instantsearch/tree/master/packages/vue-instantsearch
-[angular-instantsearch-github]: https://github.com/algolia/angular-instantsearch
[instantsearch-ios-github]: https://github.com/algolia/instantsearch-ios
[instantsearch-android-github]: https://github.com/algolia/instantsearch-android
[contributing-bugreport]: https://github.com/algolia/instantsearch/issues/new?template=BUG_REPORT.yml&labels=triage,Library%3A%20Create+InstantSearch+App
diff --git a/packages/create-instantsearch-app/docs/deploy.md b/packages/create-instantsearch-app/docs/deploy.md
index ec3366d3c2..e9cccd1cca 100644
--- a/packages/create-instantsearch-app/docs/deploy.md
+++ b/packages/create-instantsearch-app/docs/deploy.md
@@ -1,6 +1,6 @@
# Deploy an InstantSearch app
-Create InstantSearch App generates applications that are ready to be deployed. They rely on bundlers and framework toolkits (Parcel, Create React App, Vue CLI, Angular CLI, etc.).
+Create InstantSearch App generates applications that are ready to be deployed. They rely on bundlers and framework toolkits (Parcel, Create React App, Vue CLI, etc.).
Your app can be deployed in a single command, assuming you're located in its folder.
diff --git a/packages/create-instantsearch-app/e2e/__snapshots__/templates.test.js.snap b/packages/create-instantsearch-app/e2e/__snapshots__/templates.test.js.snap
index 89c5d02e69..9f24307023 100644
--- a/packages/create-instantsearch-app/e2e/__snapshots__/templates.test.js.snap
+++ b/packages/create-instantsearch-app/e2e/__snapshots__/templates.test.js.snap
@@ -1,680 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`Templates Angular InstantSearch File content: .browserslistrc 1`] = `
-"# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
-# For additional information regarding the format and rule options, please see:
-# https://github.com/browserslist/browserslist#queries
-
-# For the full list of supported browsers by the Angular framework, please see:
-# https://angular.io/guide/browser-support
-
-# You can see what browsers were selected by your queries by running:
-# npx browserslist
-
-last 1 Chrome version
-last 1 Firefox version
-last 2 Edge major versions
-last 2 Safari major versions
-last 2 iOS major versions
-Firefox ESR
-not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line."
-`;
-
-exports[`Templates Angular InstantSearch File content: .editorconfig 1`] = `
-"# Editor configuration, see https://editorconfig.org
-root = true
-
-[*]
-charset = utf-8
-indent_style = space
-indent_size = 2
-insert_final_newline = true
-trim_trailing_whitespace = true
-
-[*.ts]
-quote_type = single
-
-[*.md]
-max_line_length = off
-trim_trailing_whitespace = false"
-`;
-
-exports[`Templates Angular InstantSearch File content: .gitignore 1`] = `
-"node_modules/
-npm-debug.log
-yarn-debug.log
-yarn-error.log
-dist/"
-`;
-
-exports[`Templates Angular InstantSearch File content: README.md 1`] = `
-"# angular-instantsearch-app
-
-_This project was generated with [create-instantsearch-app](https://github.com/algolia/instantsearch/tree/master/packages/create-instantsearch-app) by [Algolia](https://algolia.com)._
-
-## Get started
-
-To run this project locally, install the dependencies and run the local server:
-
-\`\`\`sh
-npm install
-npm start
-\`\`\`
-
-Alternatively, you may use [Yarn](https://http://yarnpkg.com/):
-
-\`\`\`sh
-yarn
-yarn start
-\`\`\`
-
-Open http://localhost:3000 to see your app."
-`;
-
-exports[`Templates Angular InstantSearch File content: angular.json 1`] = `
-"{
- \\"$schema\\": \\"./node_modules/@angular/cli/lib/config/schema.json\\",
- \\"version\\": 1,
- \\"newProjectRoot\\": \\"projects\\",
- \\"projects\\": {
- \\"angular-instantsearch-app\\": {
- \\"projectType\\": \\"application\\",
- \\"schematics\\": {
- \\"@schematics/angular:application\\": {
- \\"strict\\": true
- }
- },
- \\"root\\": \\"\\",
- \\"sourceRoot\\": \\"src\\",
- \\"prefix\\": \\"app\\",
- \\"architect\\": {
- \\"build\\": {
- \\"builder\\": \\"@angular-devkit/build-angular:browser\\",
- \\"options\\": {
- \\"outputPath\\": \\"dist/angular-instantsearch-app\\",
- \\"index\\": \\"src/index.html\\",
- \\"main\\": \\"src/main.ts\\",
- \\"polyfills\\": \\"src/polyfills.ts\\",
- \\"tsConfig\\": \\"tsconfig.app.json\\",
- \\"assets\\": [\\"src/favicon.ico\\", \\"src/assets\\"],
- \\"styles\\": [\\"src/styles.css\\"],
- \\"scripts\\": []
- },
- \\"configurations\\": {
- \\"production\\": {
- \\"budgets\\": [
- {
- \\"type\\": \\"initial\\",
- \\"maximumWarning\\": \\"500kb\\",
- \\"maximumError\\": \\"1mb\\"
- },
- {
- \\"type\\": \\"anyComponentStyle\\",
- \\"maximumWarning\\": \\"2kb\\",
- \\"maximumError\\": \\"4kb\\"
- }
- ],
- \\"fileReplacements\\": [
- {
- \\"replace\\": \\"src/environments/environment.ts\\",
- \\"with\\": \\"src/environments/environment.prod.ts\\"
- }
- ],
- \\"outputHashing\\": \\"all\\"
- },
- \\"development\\": {
- \\"buildOptimizer\\": false,
- \\"optimization\\": false,
- \\"vendorChunk\\": true,
- \\"extractLicenses\\": false,
- \\"sourceMap\\": true,
- \\"namedChunks\\": true
- }
- },
- \\"defaultConfiguration\\": \\"production\\"
- },
- \\"serve\\": {
- \\"builder\\": \\"@angular-devkit/build-angular:dev-server\\",
- \\"configurations\\": {
- \\"production\\": {
- \\"browserTarget\\": \\"angular-instantsearch-app:build:production\\"
- },
- \\"development\\": {
- \\"browserTarget\\": \\"angular-instantsearch-app:build:development\\"
- }
- },
- \\"defaultConfiguration\\": \\"development\\"
- },
- \\"extract-i18n\\": {
- \\"builder\\": \\"@angular-devkit/build-angular:extract-i18n\\",
- \\"options\\": {
- \\"browserTarget\\": \\"angular-instantsearch-app:build\\"
- }
- },
- \\"test\\": {
- \\"builder\\": \\"@angular-devkit/build-angular:karma\\",
- \\"options\\": {
- \\"main\\": \\"src/test.ts\\",
- \\"polyfills\\": \\"src/polyfills.ts\\",
- \\"tsConfig\\": \\"tsconfig.spec.json\\",
- \\"karmaConfig\\": \\"karma.conf.js\\",
- \\"assets\\": [\\"src/favicon.ico\\", \\"src/assets\\"],
- \\"styles\\": [
- \\"node_modules/instantsearch.css/themes/satellite.css\\",
- \\"src/styles.css\\"
- ],
- \\"scripts\\": []
- }
- }
- }
- }
- },
- \\"defaultProject\\": \\"angular-instantsearch-app\\"
-}"
-`;
-
-exports[`Templates Angular InstantSearch File content: karma.conf.js 1`] = `
-"// Karma configuration file, see link for more information
-// https://karma-runner.github.io/1.0/config/configuration-file.html
-
-module.exports = function (config) {
- config.set({
- basePath: '',
- frameworks: ['jasmine', '@angular-devkit/build-angular'],
- plugins: [
- require('karma-jasmine'),
- require('karma-chrome-launcher'),
- require('karma-jasmine-html-reporter'),
- require('karma-coverage'),
- require('@angular-devkit/build-angular/plugins/karma'),
- ],
- client: {
- jasmine: {
- // you can add configuration options for Jasmine here
- // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
- // for example, you can disable the random execution with \`random: false\`
- // or set a specific seed with \`seed: 4321\`
- },
- clearContext: false, // leave Jasmine Spec Runner output visible in browser
- },
- jasmineHtmlReporter: {
- suppressAll: true, // removes the duplicated traces
- },
- coverageReporter: {
- dir: require('path').join(__dirname, './coverage/angular-instantsearch-app'),
- subdir: '.',
- reporters: [{ type: 'html' }, { type: 'text-summary' }],
- },
- reporters: ['progress', 'kjhtml'],
- port: 9876,
- colors: true,
- logLevel: config.LOG_INFO,
- autoWatch: true,
- browsers: ['Chrome'],
- singleRun: false,
- restartOnFileChange: true,
- });
-};"
-`;
-
-exports[`Templates Angular InstantSearch File content: package.json 1`] = `
-"{
- \\"name\\": \\"angular-instantsearch-app\\",
- \\"version\\": \\"1.0.0\\",
- \\"scripts\\": {
- \\"ng\\": \\"ng\\",
- \\"start\\": \\"ng serve --port 3000\\",
- \\"build\\": \\"ng build\\",
- \\"watch\\": \\"ng build --watch --configuration development\\",
- \\"test\\": \\"ng test\\"
- },
- \\"private\\": true,
- \\"partialDependencies\\": {
- \\"angular-instantsearch\\": \\"4.0.0\\"
- }
-}"
-`;
-
-exports[`Templates Angular InstantSearch File content: src/app/app.component.css 1`] = `
-".header {
- display: flex;
- align-items: center;
- min-height: 50px;
- padding: 0.5rem 1rem;
- background-image: linear-gradient(to right, #c3002f, #dd0031);
- color: #fff;
- margin-bottom: 1rem;
-}
-
-.header a {
- color: #fff;
- text-decoration: none;
-}
-
-.header-title {
- font-size: 1.2rem;
- font-weight: normal;
-}
-
-.header-title::after {
- content: ' ▸ ';
- padding: 0 0.5rem;
-}
-
-.header-subtitle {
- font-size: 1.2rem;
-}
-
-.container {
- max-width: 1200px;
- margin: 0 auto;
- padding: 1rem;
-}
-
-.search-panel {
- display: flex;
-}
-
-.search-panel__filters {
- flex: 1;
-}
-
-.search-panel__results {
- flex: 3;
-}
-
-.searchbox {
- margin-bottom: 2rem;
-}
-
-.pagination {
- margin: 2rem auto;
- text-align: center;
-}"
-`;
-
-exports[`Templates Angular InstantSearch File content: src/app/app.component.html 1`] = `
-"
-