diff --git a/.flowconfig b/.flowconfig
index 836f6ec1eb0..48044275cb5 100644
--- a/.flowconfig
+++ b/.flowconfig
@@ -17,7 +17,6 @@ module.system.node.resolve_dirname=src
esproposal.class_static_fields=enable
esproposal.class_instance_fields=enable
-unsafe.enable_getters_and_setters=true
munge_underscores=false
@@ -26,10 +25,5 @@ suppress_type=$FlowFixMe
suppress_type=$FixMe
suppress_type=$FlowExpectedError
-suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-3]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*www[a-z,_]*\\)?)\\)
-suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-3]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*www[a-z,_]*\\)?)\\)?:? #[0-9]+
-suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
-suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
-
[version]
-^0.56.0
+^0.130.0
diff --git a/gatsby-browser.js b/gatsby-browser.js
index a6d4cffe455..ef20faf052b 100644
--- a/gatsby-browser.js
+++ b/gatsby-browser.js
@@ -13,7 +13,8 @@ const ReactDOM = require('react-dom');
require('normalize.css');
require('./src/css/reset.css');
require('./src/prism-styles');
-require('./src/css/algolia.css');
+require('@docsearch/react/style/variables');
+require('@docsearch/react/style/button');
// Expose React and ReactDOM as globals for console playground
window.React = React;
diff --git a/package.json b/package.json
index 7f8ecc03fd6..40ea951fd6c 100644
--- a/package.json
+++ b/package.json
@@ -7,6 +7,7 @@
"url": "https://github.com/reactjs/reactjs.org"
},
"dependencies": {
+ "@docsearch/react": "^1.0.0-alpha.26",
"babel-eslint": "^8.0.1",
"eslint": "^4.8.0",
"eslint-config-fbjs": "^2.0.0",
@@ -17,7 +18,7 @@
"eslint-plugin-prettier": "^2.3.1",
"eslint-plugin-react": "^7.4.0",
"eslint-plugin-relay": "^0.0.19",
- "flow-bin": "^0.56.0",
+ "flow-bin": "^0.130.0",
"gatsby": "^2.0.0",
"gatsby-plugin-catch-links": "^2.0.0",
"gatsby-plugin-feed": "^2.0.0",
@@ -90,7 +91,7 @@
"start": "yarn dev"
},
"devDependencies": {
- "@babel/preset-flow": "^7.0.0",
+ "@babel/preset-flow": "^7.10.4",
"eslint-config-prettier": "^2.6.0",
"lz-string": "^1.4.4",
"npm-run-all": "^4.1.5",
diff --git a/src/components/LayoutHeader/DocSearch.js b/src/components/LayoutHeader/DocSearch.js
index 3f9fc2af65d..81b20d4a6c4 100644
--- a/src/components/LayoutHeader/DocSearch.js
+++ b/src/components/LayoutHeader/DocSearch.js
@@ -5,104 +5,159 @@
* @flow
*/
-import React, {Component} from 'react';
-import {colors, media} from 'theme';
-
-type State = {
- enabled: boolean,
-};
-
-class DocSearch extends Component<{}, State> {
- state = {
- enabled: true,
- };
- componentDidMount() {
- // Initialize Algolia search.
- // TODO Is this expensive? Should it be deferred until a user is about to search?
- // eslint-disable-next-line no-undef
- if (window.docsearch) {
- window.docsearch({
- apiKey: '36221914cce388c46d0420343e0bb32e',
- indexName: 'react',
- inputSelector: '#algolia-doc-search',
- });
- } else {
- console.warn('Search has failed to load and now is being disabled');
- this.setState({enabled: false});
+import React, {Fragment, useState, useRef, useCallback} from 'react';
+import {createPortal} from 'react-dom';
+import Helmet from 'react-helmet';
+import {Link, navigate} from 'gatsby';
+import hex2rgba from 'hex2rgba';
+import {colors} from 'theme';
+import {DocSearchButton, useDocSearchKeyboardEvents} from '@docsearch/react';
+
+let DocSearchModal = null;
+
+function Hit({hit, children}) {
+ return {children};
+}
+
+function DocSearch(props) {
+ const searchButtonRef = useRef(null);
+ const [isOpen, setIsOpen] = useState(false);
+ const [initialQuery, setInitialQuery] = useState(null);
+
+ const importDocSearchModalIfNeeded = useCallback(() => {
+ if (DocSearchModal) {
+ return Promise.resolve();
}
- }
-
- render() {
- const {enabled} = this.state;
-
- return enabled ? (
-
- ) : null;
- }
+
+
+
+
+
+
+ {isOpen &&
+ createPortal(
+ {
+ return items.map(item => {
+ // We transform the absolute URL into a relative URL to
+ // leverage Gatsby's preloading.
+ const a = document.createElement('a');
+ a.href = item.url;
+
+ return {
+ ...item,
+ url: `${a.pathname}${a.hash}`,
+ };
+ });
+ }}
+ {...props}
+ />,
+ document.body,
+ )}
+
+ );
}
export default DocSearch;
diff --git a/src/components/LayoutHeader/Header.js b/src/components/LayoutHeader/Header.js
index b7f3ec7b213..687595957c8 100644
--- a/src/components/LayoutHeader/Header.js
+++ b/src/components/LayoutHeader/Header.js
@@ -164,8 +164,6 @@ const Header = ({location}: {location: Location}) => (
))}
-
-
(
/>
+
+
diff --git a/src/css/algolia.css b/src/css/algolia.css
deleted file mode 100644
index e4842e6bf4d..00000000000
--- a/src/css/algolia.css
+++ /dev/null
@@ -1,459 +0,0 @@
-/**
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * Customized Algolia search result styles.
- */
-
-.searchbox {
- display: inline-block;
- position: relative;
- width: 200px;
- height: 32px !important;
- white-space: nowrap;
- box-sizing: border-box;
- visibility: visible !important;
-}
-
-.searchbox .algolia-autocomplete {
- display: block;
- width: 100%;
- height: 100%;
-}
-
-.searchbox__wrapper {
- width: 100%;
- height: 100%;
- z-index: 999;
- position: relative;
-}
-
-.searchbox__input {
- display: inline-block;
- box-sizing: border-box;
- -webkit-transition: box-shadow .4s ease, background .4s ease;
- transition: box-shadow .4s ease, background .4s ease;
- border: 0;
- border-radius: 16px;
- box-shadow: inset 0 0 0 1px #CCCCCC;
- background: #FFFFFF !important;
- padding: 0;
- padding-right: 26px;
- padding-left: 32px;
- width: 100%;
- height: 100%;
- vertical-align: middle;
- white-space: normal;
- font-size: 12px;
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
-}
-
-.searchbox__input::-webkit-search-decoration, .searchbox__input::-webkit-search-cancel-button, .searchbox__input::-webkit-search-results-button, .searchbox__input::-webkit-search-results-decoration {
- display: none;
-}
-
-.searchbox__input:hover {
- box-shadow: inset 0 0 0 1px #b3b3b3;
-}
-
-.searchbox__input:focus, .searchbox__input:active {
- outline: 0;
- box-shadow: inset 0 0 0 1px #AAAAAA;
- background: #FFFFFF;
-}
-
-.searchbox__input::-webkit-input-placeholder {
- color: #AAAAAA;
-}
-
-.searchbox__input::-moz-placeholder {
- color: #AAAAAA;
-}
-
-.searchbox__input:-ms-input-placeholder {
- color: #AAAAAA;
-}
-
-.searchbox__input::placeholder {
- color: #AAAAAA;
-}
-
-.searchbox__submit {
- position: absolute;
- top: 0;
- margin: 0;
- border: 0;
- border-radius: 16px 0 0 16px;
- background-color: rgba(69, 142, 225, 0);
- padding: 0;
- width: 32px;
- height: 100%;
- vertical-align: middle;
- text-align: center;
- font-size: inherit;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- right: inherit;
- left: 0;
-}
-
-.searchbox__submit::before {
- display: inline-block;
- margin-right: -4px;
- height: 100%;
- vertical-align: middle;
- content: '';
-}
-
-.searchbox__submit:hover, .searchbox__submit:active {
- cursor: pointer;
-}
-
-.searchbox__submit:focus {
- outline: 0;
-}
-
-.searchbox__submit svg {
- width: 14px;
- height: 14px;
- vertical-align: middle;
- fill: #6D7E96;
-}
-
-.searchbox__reset {
- display: block;
- position: absolute;
- top: 8px;
- right: 8px;
- margin: 0;
- border: 0;
- background: none;
- cursor: pointer;
- padding: 0;
- font-size: inherit;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- fill: rgba(0, 0, 0, 0.5);
-}
-
-.searchbox__reset.hide {
- display: none;
-}
-
-.searchbox__reset:focus {
- outline: 0;
-}
-
-.searchbox__reset svg {
- display: block;
- margin: 4px;
- width: 8px;
- height: 8px;
-}
-
-.searchbox__input:valid ~ .searchbox__reset {
- display: block;
- -webkit-animation-name: sbx-reset-in;
- animation-name: sbx-reset-in;
- -webkit-animation-duration: .15s;
- animation-duration: .15s;
-}
-
-@-webkit-keyframes sbx-reset-in {
- 0% {
- -webkit-transform: translate3d(-20%, 0, 0);
- transform: translate3d(-20%, 0, 0);
- opacity: 0;
- }
- 100% {
- -webkit-transform: none;
- transform: none;
- opacity: 1;
- }
-}
-
-@keyframes sbx-reset-in {
- 0% {
- -webkit-transform: translate3d(-20%, 0, 0);
- transform: translate3d(-20%, 0, 0);
- opacity: 0;
- }
- 100% {
- -webkit-transform: none;
- transform: none;
- opacity: 1;
- }
-}
-
-
-.algolia-autocomplete .ds-dropdown-menu:before {
- display: block;
- position: absolute;
- content: '';
- width: 14px;
- height: 14px;
- background: #373940;
- z-index: 1000;
- top: -7px;
- border-top: 1px solid #373940;
- border-right: 1px solid #373940;
- -webkit-transform: rotate(-45deg);
- transform: rotate(-45deg);
- border-radius: 2px;
-}
-
-.algolia-autocomplete .ds-dropdown-menu {
- box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.2), 0 2px 3px 0 rgba(0, 0, 0, 0.1);
-}
-
-@media (min-width: 601px) {
- .algolia-autocomplete.algolia-autocomplete-right .ds-dropdown-menu {
- right: 0 !important;
- left: inherit !important;
- }
-
- .algolia-autocomplete.algolia-autocomplete-right .ds-dropdown-menu:before {
- right: 48px;
- }
-
- .algolia-autocomplete .ds-dropdown-menu {
- position: relative;
- top: -6px;
- border-radius: 4px;
- margin: 6px 0 0;
- padding: 0;
- text-align: left;
- height: auto;
- position: relative;
- background: transparent;
- border: none;
- z-index: 999;
- max-width: 600px;
- min-width: 500px;
- }
-}
-
-@media (max-width: 600px) {
- .algolia-autocomplete .ds-dropdown-menu {
- z-index: 100;
- position: fixed !important;
- top: 40px !important;
- left: auto !important;
- right: 1rem !important;
- width: 600px;
- max-width: calc(100% - 2rem);
- max-height: calc(100% - 5rem);
- display: block;
- }
-
- .algolia-autocomplete .ds-dropdown-menu:before {
- right: 6rem;
- }
-}
-
-.algolia-autocomplete .ds-dropdown-menu .ds-suggestions {
- position: relative;
- z-index: 1000;
-}
-
-.algolia-autocomplete .ds-dropdown-menu .ds-suggestion {
- cursor: pointer;
-}
-
-.algolia-autocomplete .ds-dropdown-menu [class^="ds-dataset-"] {
- position: relative;
- border-radius: 4px;
- overflow: auto;
- padding: 0;
-}
-
-.algolia-autocomplete .ds-dropdown-menu * {
- box-sizing: border-box;
-}
-
-.algolia-autocomplete .algolia-docsearch-suggestion {
- position: relative;
- padding: 0;
- overflow: hidden;
-}
-
-.algolia-autocomplete .ds-cursor .algolia-docsearch-suggestion--wrapper {
- background: #f1f1f1;
- box-shadow: inset -2px 0 0 #61dafb;
-}
-
-.algolia-autocomplete .algolia-docsearch-suggestion--highlight {
- background: #ffe564;
- padding: 0.1em 0.05em;
-}
-
-.algolia-autocomplete .algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--category-header-lvl0 .algolia-docsearch-suggestion--highlight,
-.algolia-autocomplete .algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--category-header-lvl1 .algolia-docsearch-suggestion--highlight {
- color: inherit;
- background: inherit;
-}
-
-.algolia-autocomplete .algolia-docsearch-suggestion--text .algolia-docsearch-suggestion--highlight {
- padding: 0 0 1px;
- background: inherit;
- box-shadow: inset 0 -2px 0 0 rgba(69, 142, 225, 0.8);
- color: inherit;
-}
-
-.algolia-autocomplete .algolia-docsearch-suggestion--content {
- display: block;
- float: right;
- width: 70%;
- position: relative;
- padding: 5.33333px 0 5.33333px 10.66667px;
- cursor: pointer;
-}
-
-.algolia-autocomplete .algolia-docsearch-suggestion--content:before {
- content: '';
- position: absolute;
- display: block;
- top: 0;
- height: 100%;
- width: 1px;
- background: #ececec;
- left: -1px;
-}
-
-.algolia-autocomplete .algolia-docsearch-suggestion--category-header {
- position: relative;
- display: none;
- font-size: 14px;
- letter-spacing: 0.08em;
- font-weight: 700;
- background-color: #373940;
- text-transform: uppercase;
- color: #fff;
- margin: 0;
- padding: 5px 8px;
-}
-
-.algolia-autocomplete .algolia-docsearch-suggestion--wrapper {
- background-color: #fff;
- width: 100%;
- float: left;
- padding: 8px 0 0 0;
-}
-
-.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column {
- float: left;
- width: 30%;
- display: none;
- padding-left: 0;
- text-align: right;
- position: relative;
- padding: 5.33333px 10.66667px;
- color: #777;
- font-size: 0.9em;
- word-wrap: break-word;
-}
-
-.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column:before {
- content: '';
- position: absolute;
- display: block;
- top: 0;
- height: 100%;
- width: 1px;
- background: #ececec;
- right: 0;
-}
-
-.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column .algolia-docsearch-suggestion--highlight {
- background-color: inherit;
- color: inherit;
-}
-
-.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-inline {
- display: none;
-}
-
-.algolia-autocomplete .algolia-docsearch-suggestion--title {
- margin-bottom: 4px;
- color: #02060C;
- font-size: 0.9em;
- font-weight: bold;
-}
-
-.algolia-autocomplete .algolia-docsearch-suggestion--text {
- display: block;
- line-height: 1.2em;
- font-size: 0.85em;
- color: #63676D;
- padding-right: 2px;
-}
-
-.algolia-autocomplete .algolia-docsearch-suggestion--no-results {
- width: 100%;
- padding: 8px 0;
- text-align: center;
- font-size: 1.2em;
- background-color: #373940;
- margin-top: -8px;
-}
-
-.algolia-autocomplete .algolia-docsearch-suggestion--no-results .algolia-docsearch-suggestion--text {
- color: #ffffff;
- margin-top: 4px;
-}
-
-.algolia-autocomplete .algolia-docsearch-suggestion--no-results::before {
- display: none;
-}
-
-.algolia-autocomplete .algolia-docsearch-suggestion code {
- padding: 1px 5px;
- font-size: 90%;
- border: none;
- color: #222222;
- background-color: #EBEBEB;
- border-radius: 3px;
- font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
-}
-
-.algolia-autocomplete .algolia-docsearch-suggestion code .algolia-docsearch-suggestion--highlight {
- background: none;
-}
-
-.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__main .algolia-docsearch-suggestion--category-header {
- display: block;
-}
-
-.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__secondary .algolia-docsearch-suggestion--subcategory-column {
- display: block;
-}
-
-
-.algolia-autocomplete .algolia-docsearch-footer {
- background-color: #fff;
- width: 100%;
- height: 30px;
- z-index: 2000;
- float: right;
- font-size: 0;
- line-height: 0;
-}
-
-.algolia-autocomplete .algolia-docsearch-footer--logo {
- background-image: url('data:image/svg+xml;utf8,');
- background-repeat: no-repeat;
- background-position: center;
- background-size: 100%;
- overflow: hidden;
- text-indent: -9000px;
- width: 110px;
- height: 100%;
- display: block;
- margin-left: auto;
- margin-right: 5px;
-}
diff --git a/src/html.js b/src/html.js
index 9683e820904..19efa97c1c2 100644
--- a/src/html.js
+++ b/src/html.js
@@ -6,10 +6,6 @@
import React from 'react';
-const JS_NPM_URLS = [
- 'https://unpkg.com/docsearch.js@2.4.1/dist/cdn/docsearch.min.js',
-];
-
type Props = {|
htmlAttributes: any,
headComponents: React$Node,
@@ -23,9 +19,6 @@ export default class HTML extends React.Component {
return (
- {JS_NPM_URLS.map(url => (
-
- ))}
{
dangerouslySetInnerHTML={{__html: this.props.body}}
/>
{this.props.postBodyComponents}
- {JS_NPM_URLS.map(url => (
-
- ))}
);
diff --git a/yarn.lock b/yarn.lock
index 05a5db6fead..998f45d2c03 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2,6 +2,110 @@
# yarn lockfile v1
+"@algolia/cache-browser-local-storage@4.3.1":
+ version "4.3.1"
+ resolved "https://registry.yarnpkg.com/@algolia/cache-browser-local-storage/-/cache-browser-local-storage-4.3.1.tgz#2adbb3de8adebf2c938fb8dc94359a89366017b9"
+ integrity sha512-pNelJomUeeQS5ZagEeUti8HltrfJbqXHnZXB1fez4Ycdm7GsEQm0r6fRCfx+1/6hqQJNo5zQUSA4ZgWi8VMs4Q==
+ dependencies:
+ "@algolia/cache-common" "4.3.1"
+
+"@algolia/cache-common@4.3.1":
+ version "4.3.1"
+ resolved "https://registry.yarnpkg.com/@algolia/cache-common/-/cache-common-4.3.1.tgz#2470fd0a358ae5a66119851d77cdf12969b53591"
+ integrity sha512-BgZVQKfQ3rYSKHDbEuYeIHgQ7cIqbDVUe8gPib/YI6hB2FWdt3hQyDqKslulBt65MxZ5CLSrWg8mq/qL077Bog==
+
+"@algolia/cache-in-memory@4.3.1":
+ version "4.3.1"
+ resolved "https://registry.yarnpkg.com/@algolia/cache-in-memory/-/cache-in-memory-4.3.1.tgz#905a27ab5f1303b1e0fea719bc808784e9415169"
+ integrity sha512-bd2Aqn8efGJpR8snjUvBJIONyQ2uqYQSbFH9rTrLPmJPMYdoTKTcVLrtpOhOlmvTTfguhqlv+zIjYdJcraeBvg==
+ dependencies:
+ "@algolia/cache-common" "4.3.1"
+
+"@algolia/client-account@4.3.1":
+ version "4.3.1"
+ resolved "https://registry.yarnpkg.com/@algolia/client-account/-/client-account-4.3.1.tgz#e84f93e2c3375a9defc690e4c24b2e2d9a28824f"
+ integrity sha512-062Cxw61llvkeHS2bWghufNI0munw5fKGZBhUfDdnC7lsJpzYJwQdkdchzLqqIOXZa8k9vdLlnlKHk8f53E5fQ==
+ dependencies:
+ "@algolia/client-common" "4.3.1"
+ "@algolia/client-search" "4.3.1"
+ "@algolia/transporter" "4.3.1"
+
+"@algolia/client-analytics@4.3.1":
+ version "4.3.1"
+ resolved "https://registry.yarnpkg.com/@algolia/client-analytics/-/client-analytics-4.3.1.tgz#391227f0e2cc1a7fefedbab06f4b2b78f59579a5"
+ integrity sha512-+/gn1z3oAh2CE0xox7/Df9SseHcOuqgm4ngSXGh1cWpldsF+gioA9HWSh/4RSydViASKu3YIk5O61zFzVTKbOA==
+ dependencies:
+ "@algolia/client-common" "4.3.1"
+ "@algolia/client-search" "4.3.1"
+ "@algolia/requester-common" "4.3.1"
+ "@algolia/transporter" "4.3.1"
+
+"@algolia/client-common@4.3.1":
+ version "4.3.1"
+ resolved "https://registry.yarnpkg.com/@algolia/client-common/-/client-common-4.3.1.tgz#053580c0c2ed982eb2f65c7d728238f3da67db4e"
+ integrity sha512-1dcADKy3F/gMN+s+p5yvYdF6A4L5YEY0ll4JjSHGKXvZyWLDxKjyu/ToeUuHlrutWQu9w8UT2X7urES8BZU5WQ==
+ dependencies:
+ "@algolia/requester-common" "4.3.1"
+ "@algolia/transporter" "4.3.1"
+
+"@algolia/client-recommendation@4.3.1":
+ version "4.3.1"
+ resolved "https://registry.yarnpkg.com/@algolia/client-recommendation/-/client-recommendation-4.3.1.tgz#e693b16cdf6ec7fa532f9ab39143c8dabed5cc76"
+ integrity sha512-4WZ9Pa2waOkpqv5acom4f8XBBlrnafeEwcSK4R0msubHJpUdkvD/+rxT5Ya1/0FAGvBPhOvtOJqsauaJYKM2Dw==
+ dependencies:
+ "@algolia/client-common" "4.3.1"
+ "@algolia/requester-common" "4.3.1"
+ "@algolia/transporter" "4.3.1"
+
+"@algolia/client-search@4.3.1":
+ version "4.3.1"
+ resolved "https://registry.yarnpkg.com/@algolia/client-search/-/client-search-4.3.1.tgz#e0a3d9b757855901a185d3d918b27af28d520a5b"
+ integrity sha512-BGI8+8Gi3OELHtyXHflGz0Ms0DQLUQFu2Hs4us3L9gidyYhuvjl76x8EOOQRkXhQcWzEeqx+L2c2InTKtNfQfg==
+ dependencies:
+ "@algolia/client-common" "4.3.1"
+ "@algolia/requester-common" "4.3.1"
+ "@algolia/transporter" "4.3.1"
+
+"@algolia/logger-common@4.3.1":
+ version "4.3.1"
+ resolved "https://registry.yarnpkg.com/@algolia/logger-common/-/logger-common-4.3.1.tgz#31d2ff5f81a3e2424cfb4b205e64cfd7b1acfba5"
+ integrity sha512-HOY89EkxFFR0LjeqE+fqaF3EeQUAYFdVdrAXsnrWhm/OsAlXiy+vsoHL4EaJLXvTQlJRBbgNyyQv8ZPAN9JLCw==
+
+"@algolia/logger-console@4.3.1":
+ version "4.3.1"
+ resolved "https://registry.yarnpkg.com/@algolia/logger-console/-/logger-console-4.3.1.tgz#f61f2e0ed67ae92556d7e1b1cb4f08e270b2734b"
+ integrity sha512-aIJ2N++eTVLkwGFxb1AY60hxYIrNf3FgaEMkokPOAV7sPoWThITSQPj/2vruRLJsYZS2EnD8jxiETrCwSet7mw==
+ dependencies:
+ "@algolia/logger-common" "4.3.1"
+
+"@algolia/requester-browser-xhr@4.3.1":
+ version "4.3.1"
+ resolved "https://registry.yarnpkg.com/@algolia/requester-browser-xhr/-/requester-browser-xhr-4.3.1.tgz#c664be05dbdddbd63cb66c4e32b598b563ab83d1"
+ integrity sha512-aSkBWqt9IjZYzmJpP14ISO9tizjyumwAmGxnx2t/QuE3LUh/sJG2FL3Vvq44wjNk9yTPC/c1yiQA85IqeqGZ7g==
+ dependencies:
+ "@algolia/requester-common" "4.3.1"
+
+"@algolia/requester-common@4.3.1":
+ version "4.3.1"
+ resolved "https://registry.yarnpkg.com/@algolia/requester-common/-/requester-common-4.3.1.tgz#215084aa1ea025b1f2f73eb03b437de89c7c6c39"
+ integrity sha512-2lu0gOB2Rt4mn9gKDxjB8rY2IvU4usDA8bZVGl5tf/E81kRovtDZcgZjuKQ5zMyJ/xuIYXjx+ECXAxjUnNhieA==
+
+"@algolia/requester-node-http@4.3.1":
+ version "4.3.1"
+ resolved "https://registry.yarnpkg.com/@algolia/requester-node-http/-/requester-node-http-4.3.1.tgz#8ffaeef57c1410e32d59565fbd2db6705bffaa92"
+ integrity sha512-CnVQ5fHJVsvOZjOIagAIWW315NwGF/spBT5o8/+9ZFTuKQTeLk8/jdj7OXKZ2+vbWkqDM1sKMFXH2jyHOlZjtQ==
+ dependencies:
+ "@algolia/requester-common" "4.3.1"
+
+"@algolia/transporter@4.3.1":
+ version "4.3.1"
+ resolved "https://registry.yarnpkg.com/@algolia/transporter/-/transporter-4.3.1.tgz#8320b29cabf54a1486435bea51d1c562952337ce"
+ integrity sha512-fbA/XHjdVoO+sp+rPVe/+oK/mCac0S6VugMycg7Etujb4+6nv3STIZxtPiC+Xppbouh5tEEOE81F1aALHXBkBQ==
+ dependencies:
+ "@algolia/cache-common" "4.3.1"
+ "@algolia/logger-common" "4.3.1"
+ "@algolia/requester-common" "4.3.1"
+
"@babel/code-frame@7.0.0-beta.44":
version "7.0.0-beta.44"
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0-beta.44.tgz#2a02643368de80916162be70865c97774f3adbd9"
@@ -228,6 +332,11 @@
dependencies:
"@babel/types" "^7.8.3"
+"@babel/helper-plugin-utils@^7.10.4":
+ version "7.10.4"
+ resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.4.tgz#2f75a831269d4f677de49986dff59927533cf375"
+ integrity sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg==
+
"@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3":
version "7.8.3"
resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz#9ea293be19babc0f52ff8ca88b34c3611b208670"
@@ -412,12 +521,12 @@
dependencies:
"@babel/helper-plugin-utils" "^7.8.0"
-"@babel/plugin-syntax-flow@^7.8.3":
- version "7.8.3"
- resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.8.3.tgz#f2c883bd61a6316f2c89380ae5122f923ba4527f"
- integrity sha512-innAx3bUbA0KSYj2E2MNFSn9hiCeowOFLxlsuhXzw8hMQnzkDomUr9QCD7E9VF60NmnG1sNTuuv6Qf4f8INYsg==
+"@babel/plugin-syntax-flow@^7.10.4":
+ version "7.10.4"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.10.4.tgz#53351dd7ae01995e567d04ce42af1a6e0ba846a6"
+ integrity sha512-yxQsX1dJixF4qEEdzVbst3SZQ58Nrooz8NV9Z9GL4byTE25BvJgl5lf0RECUf0fh28rZBb/RYTWn/eeKwCMrZQ==
dependencies:
- "@babel/helper-plugin-utils" "^7.8.3"
+ "@babel/helper-plugin-utils" "^7.10.4"
"@babel/plugin-syntax-json-strings@^7.8.0":
version "7.8.3"
@@ -550,13 +659,13 @@
"@babel/helper-builder-binary-assignment-operator-visitor" "^7.8.3"
"@babel/helper-plugin-utils" "^7.8.3"
-"@babel/plugin-transform-flow-strip-types@^7.8.3":
- version "7.8.3"
- resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.8.3.tgz#da705a655466b2a9b36046b57bf0cbcd53551bd4"
- integrity sha512-g/6WTWG/xbdd2exBBzMfygjX/zw4eyNC4X8pRaq7aRHRoDUCzAIu3kGYIXviOv8BjCuWm8vDBwjHcjiRNgXrPA==
+"@babel/plugin-transform-flow-strip-types@^7.10.4":
+ version "7.10.4"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.10.4.tgz#c497957f09e86e3df7296271e9eb642876bf7788"
+ integrity sha512-XTadyuqNst88UWBTdLjM+wEY7BFnY2sYtPyAidfC7M/QaZnSuIZpMvLxqGT7phAcnGyWh/XQFLKcGf04CnvxSQ==
dependencies:
- "@babel/helper-plugin-utils" "^7.8.3"
- "@babel/plugin-syntax-flow" "^7.8.3"
+ "@babel/helper-plugin-utils" "^7.10.4"
+ "@babel/plugin-syntax-flow" "^7.10.4"
"@babel/plugin-transform-for-of@^7.8.6":
version "7.8.6"
@@ -834,13 +943,13 @@
levenary "^1.1.1"
semver "^5.5.0"
-"@babel/preset-flow@^7.0.0":
- version "7.8.3"
- resolved "https://registry.yarnpkg.com/@babel/preset-flow/-/preset-flow-7.8.3.tgz#52af74c6a4e80d889bd9436e8e278d0fecac6e18"
- integrity sha512-iCXFk+T4demnq+dNLLvlGOgvYF6sPZ/hS1EmswugOqh1Ysp2vuiqJzpgsnp5rW8+6dLJT/0CXDzye28ZH6BAfQ==
+"@babel/preset-flow@^7.10.4":
+ version "7.10.4"
+ resolved "https://registry.yarnpkg.com/@babel/preset-flow/-/preset-flow-7.10.4.tgz#e0d9c72f8cb02d1633f6a5b7b16763aa2edf659f"
+ integrity sha512-XI6l1CptQCOBv+ZKYwynyswhtOKwpZZp5n0LG1QKCo8erRhqjoQV6nvx61Eg30JHpysWQSBwA2AWRU3pBbSY5g==
dependencies:
- "@babel/helper-plugin-utils" "^7.8.3"
- "@babel/plugin-transform-flow-strip-types" "^7.8.3"
+ "@babel/helper-plugin-utils" "^7.10.4"
+ "@babel/plugin-transform-flow-strip-types" "^7.10.4"
"@babel/preset-react@^7.7.4":
version "7.8.3"
@@ -936,6 +1045,31 @@
lodash "^4.17.13"
to-fast-properties "^2.0.0"
+"@docsearch/css@^1.0.0-alpha.26":
+ version "1.0.0-alpha.26"
+ resolved "https://registry.yarnpkg.com/@docsearch/css/-/css-1.0.0-alpha.26.tgz#a2f9b61168d527600b0e3f31c0f04998002f3aa2"
+ integrity sha512-YAa7R6O2MMdRtxTaMB3TTfeelhpf01J1xtnGZEQa7LNA64QO8BErceQIMQq5/ZMXnGViK/eUjqSVyCu7uzYE5w==
+
+"@docsearch/react@^1.0.0-alpha.26":
+ version "1.0.0-alpha.26"
+ resolved "https://registry.yarnpkg.com/@docsearch/react/-/react-1.0.0-alpha.26.tgz#98b736d7de951bfa55cf3d0eb3639f93c9dd1db2"
+ integrity sha512-2eKIcUXuWbGgz6/xF+p7kYyd1IVGcnB8r+oIkTD6Tqtq0VGzZmf9ZPCOX37G38pVIJXAAxmtAb7oPO311xGWNQ==
+ dependencies:
+ "@docsearch/css" "^1.0.0-alpha.26"
+ "@francoischalifour/autocomplete-core" "^1.0.0-alpha.26"
+ "@francoischalifour/autocomplete-preset-algolia" "^1.0.0-alpha.26"
+ algoliasearch "^4.0.0"
+
+"@francoischalifour/autocomplete-core@^1.0.0-alpha.26":
+ version "1.0.0-alpha.26"
+ resolved "https://registry.yarnpkg.com/@francoischalifour/autocomplete-core/-/autocomplete-core-1.0.0-alpha.26.tgz#fc9ec90a62f0665c7092d19a649c751fe3794de3"
+ integrity sha512-XUXAGVx0My9isShokR1QB/oPFQiaPYDCouoTZTN+DISQw5AK6kGZUCFFXJSRNHTxBq1/0e70DYEiQa8E+rT/Og==
+
+"@francoischalifour/autocomplete-preset-algolia@^1.0.0-alpha.26":
+ version "1.0.0-alpha.26"
+ resolved "https://registry.yarnpkg.com/@francoischalifour/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.0.0-alpha.26.tgz#3e20315d43dfef6c676cab4267974de70c2f6ec2"
+ integrity sha512-RrayxZgvTzpwq+RqEIpVn2UOEFLwa+HADCr2I3UI05o/OGU7Wc6LltpQy54scR+FlAIk6qTJwp5Nw/ecJn6xXg==
+
"@hapi/address@2.x.x":
version "2.1.4"
resolved "https://registry.yarnpkg.com/@hapi/address/-/address-2.1.4.tgz#5d67ed43f3fd41a69d4b9ff7b56e7c0d1d0a81e5"
@@ -1768,6 +1902,26 @@ ajv@^6.1.0, ajv@^6.10.0, ajv@^6.10.2, ajv@^6.5.5:
json-schema-traverse "^0.4.1"
uri-js "^4.2.2"
+algoliasearch@^4.0.0:
+ version "4.3.1"
+ resolved "https://registry.yarnpkg.com/algoliasearch/-/algoliasearch-4.3.1.tgz#dea6ad87705e0439855cf3e5a4406b74e794b874"
+ integrity sha512-q8aIYgdZZWOMzmvlIwxcbktVa8+M5cyI8hIrgd/NcSz/XKHfVTKdNYbnsmPqmYrssAmepx8C8vHnJrPuumUnYA==
+ dependencies:
+ "@algolia/cache-browser-local-storage" "4.3.1"
+ "@algolia/cache-common" "4.3.1"
+ "@algolia/cache-in-memory" "4.3.1"
+ "@algolia/client-account" "4.3.1"
+ "@algolia/client-analytics" "4.3.1"
+ "@algolia/client-common" "4.3.1"
+ "@algolia/client-recommendation" "4.3.1"
+ "@algolia/client-search" "4.3.1"
+ "@algolia/logger-common" "4.3.1"
+ "@algolia/logger-console" "4.3.1"
+ "@algolia/requester-browser-xhr" "4.3.1"
+ "@algolia/requester-common" "4.3.1"
+ "@algolia/requester-node-http" "4.3.1"
+ "@algolia/transporter" "4.3.1"
+
alphanum-sort@^1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/alphanum-sort/-/alphanum-sort-1.0.2.tgz#97a1119649b211ad33691d9f9f486a8ec9fbe0a3"
@@ -5537,10 +5691,10 @@ flatted@^2.0.0:
resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.1.tgz#69e57caa8f0eacbc281d2e2cb458d46fdb449e08"
integrity sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg==
-flow-bin@^0.56.0:
- version "0.56.0"
- resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.56.0.tgz#ce43092203a344ba9bf63c0cabe95d95145f6cad"
- integrity sha1-zkMJIgOjRLqb9jwMq+ldlRRfbK0=
+flow-bin@^0.130.0:
+ version "0.130.0"
+ resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.130.0.tgz#e25eaf891af96da371ff6a9fa99d709f24ce9252"
+ integrity sha512-1TSLwCPXvKPwiae7Fh+dpipCzwlHQ1UcBHfCpQImz+hsxYIUWkLWJWEm34bY6I7dSM4ekSiVeP02BhzVJGwtpw==
flush-write-stream@^1.0.0:
version "1.1.1"