diff --git a/docs/content/admin/quickstart.md b/docs/content/admin/quickstart.md index b1159cc9b2..472fac07ef 100644 --- a/docs/content/admin/quickstart.md +++ b/docs/content/admin/quickstart.md @@ -16,7 +16,9 @@ If you’re not very familiar with Medusa’s architecture, you can learn more a Instead of manually following this guide to install then later deploy the Medusa Admin, you can deploy the Medusa Admin to Netlify with this button: -[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/medusajs/admin) + + Deploy to Netlify + ## Install the Admin diff --git a/docs/content/advanced/admin/import-prices.mdx b/docs/content/advanced/admin/import-prices.mdx index f5c787ccee..0d3a8696ab 100644 --- a/docs/content/advanced/admin/import-prices.mdx +++ b/docs/content/advanced/admin/import-prices.mdx @@ -60,7 +60,7 @@ The first step is to upload the CSV file to import prices from. You can do that by sending the following request to the [Upload Files](https://docs.medusajs.com/api/admin/#tag/Upload/operation/PostUploads) endpoint: - + ```jsx @@ -111,7 +111,7 @@ To start a new price import, you must create a batch job. You can do that by sending the following request to the [Create a Batch Job](https://docs.medusajs.com/api/admin/#tag/Batch-Job/operation/PostBatchJobs) endpoint: - + ```jsx @@ -196,7 +196,7 @@ After creating the batch job, it will be pre-processed. At this point, the CSV f You can retrieve all the details of the batch job, including its status and the brief statistics related to the prices by sending the following request: - + ```jsx @@ -255,7 +255,7 @@ A batch job can be confirmed only once the batch job has the status `pre_process To confirm a batch job send the following request: - + ```jsx diff --git a/docs/content/advanced/admin/import-products.mdx b/docs/content/advanced/admin/import-products.mdx index 52e66d12d9..9a52f6e698 100644 --- a/docs/content/advanced/admin/import-products.mdx +++ b/docs/content/advanced/admin/import-products.mdx @@ -54,7 +54,7 @@ The first step is to upload the CSV file that you want to import products. You can do that by sending the following request to the [Upload Files](https://docs.medusajs.com/api/admin/#tag/Upload/operation/PostUploads) endpoint: - + ```jsx @@ -105,7 +105,7 @@ To start a new product import, you must create a batch job. You can do that by sending the following request to the [Create a Batch Job](https://docs.medusajs.com/api/admin/#tag/Batch-Job/operation/PostBatchJobs) endpoint: - + ```jsx @@ -184,7 +184,7 @@ After creating the batch job, it will be pre-processed. At this point, the CSV f You can retrieve all the details of the batch job, including its status and the brief statistics related to the products by sending the following request: - + ```jsx @@ -243,7 +243,7 @@ A batch job can be confirmed only once the batch job has the status `pre_process To confirm a batch job send the following request: - + ```jsx diff --git a/docs/content/advanced/admin/use-customergroups-api.mdx b/docs/content/advanced/admin/use-customergroups-api.mdx index cfe3a0b1e8..ca44ec36df 100644 --- a/docs/content/advanced/admin/use-customergroups-api.mdx +++ b/docs/content/advanced/admin/use-customergroups-api.mdx @@ -39,7 +39,7 @@ You can learn more about [authenticating as an admin user in the API reference]( You can create a customer group by sending a request to the Create Customer Group endpoint: - + ```jsx @@ -93,7 +93,7 @@ This request requires the `name` parameter and optionally accepts the `metadata` You can get a list of all customer groups by sending a request to the List Customer Groups endpoint: - + ```jsx @@ -135,7 +135,7 @@ You can also pass filters and other selection query parameters to the request. C You can retrieve a single customer group by sending a request to the Get a Customer Group endpoint: - + ```jsx @@ -175,7 +175,7 @@ This request accepts the ID of the customer group to retrieve as a path paramete You can update a customer group’s data by sending a request to the Update Customer Group endpoint: - + ```jsx @@ -235,7 +235,7 @@ This request accepts the ID of the customer group as a path parameter, and optio You can delete a customer group by sending a request to the Delete a Customer Group endpoint: - + ```jsx @@ -279,7 +279,7 @@ This request accepts the ID of the customer group to delete as a path parameter. You can add a customer to a group by sending a request to the Customer Group’s Add Customer endpoint: - + ```jsx @@ -343,7 +343,7 @@ This request accepts the ID of the customer group as a path parameter. In its bo You can retrieve a list of all customers in a customer group using the List Customers endpoint: - + ```jsx @@ -387,7 +387,7 @@ Removing customers from a group does not remove them entirely. They’ll still b You can remove customers from a customer group by sending a request to the Remove Customers endpoint: - + ```jsx diff --git a/docs/content/advanced/backend/batch-jobs/create.md b/docs/content/advanced/backend/batch-jobs/create.md index 27eef3dd0a..87a2f31328 100644 --- a/docs/content/advanced/backend/batch-jobs/create.md +++ b/docs/content/advanced/backend/batch-jobs/create.md @@ -254,7 +254,7 @@ The first step is to create a batch job using the [Create Batch Job endpoint](ht For example, this creates a batch job of the type `publish-products`: - + ```jsx @@ -314,7 +314,7 @@ Make sure to replace `` with the server URL where applicable. You can retrieve the batch job afterward to get its status and view details about the process in the `result` property: - + ```jsx @@ -367,7 +367,7 @@ Based on the batch job strategy implemented in this documentation, the `result` To process the batch job, send a request to [confirm the batch job](https://docs.medusajs.com/api/admin/#tag/Batch-Job/operation/PostBatchJobsBatchJobConfirmProcessing): - + ```jsx diff --git a/docs/content/advanced/backend/price-lists/use-api.mdx b/docs/content/advanced/backend/price-lists/use-api.mdx index 3c311fadf2..7cbf66e19c 100644 --- a/docs/content/advanced/backend/price-lists/use-api.mdx +++ b/docs/content/advanced/backend/price-lists/use-api.mdx @@ -63,7 +63,7 @@ You can learn more about what the conditions you can apply on a price list and i For example, sending the following request creates a price list with two prices: one that is applied when the maximum quantity of the product variant in the cart is 3; another is applied when the minimum quantity of the same variant in the cart is 4: - + ```jsx @@ -172,7 +172,7 @@ You can check the full list of request body parameters in the [API reference](ht You can retrieve all of a price list’s details using the Get a Price List endpoint: - + ```jsx @@ -212,7 +212,7 @@ After creating a price list, you can update all of its fields including its stat For example, by sending the following request the end date of the price list will be updated: - + ```jsx @@ -274,7 +274,7 @@ You can also set the `override` request body parameter to `true` to replace the For example, sending the following request adds a new price to the price list: - + ```jsx @@ -346,7 +346,7 @@ For a full list of request body parameters, check out the [API reference](https: You can delete all the prices of a product’s variants using the [Delete Product Prices](https://docs.medusajs.com/api/admin/#tag/Price-List/operation/DeletePriceListsPriceListProductsProductPrices) endpoint: - + ```jsx @@ -386,7 +386,7 @@ This request returns the IDs of the deleted prices. You can delete all the prices of a variant using the [Delete Variant Prices](https://docs.medusajs.com/api/admin/#tag/Price-List/operation/DeletePriceListsPriceListVariantsVariantPrices) endpoint: - + ```jsx @@ -428,7 +428,7 @@ This request returns the IDs of the deleted prices. You can delete a price list, and subsequently all prices defined in it, using the [Delete Price List](https://docs.medusajs.com/api/admin/#tag/Price-List/operation/DeletePriceListsPriceList) endpoint: - + ```jsx diff --git a/docs/content/advanced/backend/sales-channels/manage-admin.mdx b/docs/content/advanced/backend/sales-channels/manage-admin.mdx index 3f7ee2906e..7fa62dd578 100644 --- a/docs/content/advanced/backend/sales-channels/manage-admin.mdx +++ b/docs/content/advanced/backend/sales-channels/manage-admin.mdx @@ -52,7 +52,7 @@ You can learn more about [authenticating as an admin user in the API reference]( You can create a sales channel by sending a request to the Create a Sales Channel endpoint: - + ```jsx @@ -111,7 +111,7 @@ It returns the created sales channel. You can list all sales channels by sending a request to the List Sales Channels endpoint: - + ```jsx @@ -151,7 +151,7 @@ This request returns an array of all sales channels in your store. You can also You can retrieve a sales channel’s details by its ID using the Get Sales Channel endpoint: - + ```jsx @@ -191,7 +191,7 @@ This request returns the sales channel with the specified ID. You can update a Sales Channel’s details and attributes by sending a request to the Update Sales Channel endpoint: - + ```jsx @@ -249,7 +249,7 @@ You can check out [the API Reference for a full list of body parameters](https:/ You can delete a sales channel by sending a request to the Delete Sales Channel endpoint with the ID of the sales channel to delete: - + ```jsx @@ -293,7 +293,7 @@ The ID of the deleted sales channel is returned in the response. To add a product to a sales channel, send a request to the Sales Channel’s Add Products endpoint: - + ```jsx @@ -359,7 +359,7 @@ This request returns the sales channel. You can list the products available in a sales channel by sending a request to the List Products endpoint and passing the `sales_channel_id` query parameter to filter by a specific sales channel: - + ```jsx @@ -407,7 +407,7 @@ Deleting a product from a sales channel doesn't delete it completely. It only ma You can delete a product from a sales channel by sending a request to the Sales Channel’s Delete Products endpoint: - + ```jsx @@ -475,7 +475,7 @@ This request returns the sales channel. You can filter orders by a specific sales channel by sending a request to the List Orders endpoint and passing the `sales_channel_id` query parameter to filter by a specific sales channel: - + ```jsx diff --git a/docs/content/advanced/backend/upgrade-guides/1-3-0.md b/docs/content/advanced/backend/upgrade-guides/1-3-0.md index 74148cfeda..a4710f6264 100644 --- a/docs/content/advanced/backend/upgrade-guides/1-3-0.md +++ b/docs/content/advanced/backend/upgrade-guides/1-3-0.md @@ -1,3 +1,7 @@ +--- +description: 'Actions Required for v.1.3.0' +--- + # v1.3.0 Version 1.3.0 of Medusa introduces new features including the addition of Line Item Adjustments and a more advanced Promotions API, as well as a change in loading environment variables into your Medusa server. The changes do not affect the public APIs and require only running necessary data migrations. diff --git a/docs/content/advanced/backend/upgrade-guides/1-3-6.md b/docs/content/advanced/backend/upgrade-guides/1-3-6.md index 308d091fe7..c0a2bd0def 100644 --- a/docs/content/advanced/backend/upgrade-guides/1-3-6.md +++ b/docs/content/advanced/backend/upgrade-guides/1-3-6.md @@ -1,3 +1,7 @@ +--- +description: 'Actions Required for v.1.3.0' +--- + # v1.3.6 Following the addition of feature flags in version v1.3.3 and the addition of the Sales Channels API in v1.3.5, v1.3.6 introduces a data migration script that moves all products into the Default Sales Channel. diff --git a/docs/content/advanced/backend/upgrade-guides/1-3-8.md b/docs/content/advanced/backend/upgrade-guides/1-3-8.md index d38fab4f0e..95a151edfe 100644 --- a/docs/content/advanced/backend/upgrade-guides/1-3-8.md +++ b/docs/content/advanced/backend/upgrade-guides/1-3-8.md @@ -1,3 +1,7 @@ +--- +description: 'Actions Required for v.1.3.0' +--- + # v1.3.8 Updating your medusa server to version `1.3.8` may cause issues when using NPM. Please refer to this guide for more details on how to resolve it. diff --git a/docs/content/advanced/storefront/how-to-implement-checkout-flow.mdx b/docs/content/advanced/storefront/how-to-implement-checkout-flow.mdx index 95a73bf49b..705b8ce047 100644 --- a/docs/content/advanced/storefront/how-to-implement-checkout-flow.mdx +++ b/docs/content/advanced/storefront/how-to-implement-checkout-flow.mdx @@ -45,7 +45,7 @@ In this step, the customer generally enters their shipping info, then chooses th After the customer enters their shipping address information, you must send a `POST` request to the [Update a Cart](https://docs.medusajs.com/api/store/#tag/Cart/operation/PostCartsCart) API endpoint: - + ```jsx @@ -111,7 +111,7 @@ After updating the cart with the customer’s address, the list of available [sh You can retrieve the list of shipping options by sending a `GET` request to the [Retrieve Shipping Options for Cart API](https://docs.medusajs.com/api/store/#tag/Shipping-Option/operation/GetShippingOptionsCartId) endpoint: - + ```jsx @@ -141,7 +141,7 @@ The request accepts the ID of the cart as a path parameter. It returns the array Once the customer chooses one of the available shipping options, send a `POST` request to the [Add a Shipping Method](https://docs.medusajs.com/api/store/#tag/Cart/operation/PostCartsCartShippingMethod) API endpoint. This will create a [shipping method](../backend/shipping/overview.md#shipping-method) based on the shipping option chosen and will associate it with the customer’s cart: - + ```jsx @@ -189,7 +189,7 @@ When the page opens and before the payment providers are displayed to the custom To initialize the payment sessions, send a `POST` request to the [Initialize Payment Sessions](https://docs.medusajs.com/api/store/#tag/Cart/operation/PostCartsCartPaymentSessions) API endpoint: - + ```jsx @@ -221,7 +221,7 @@ This endpoint accepts the ID of the cart as a path parameter. It returns the upd When the customer chooses the payment provider they want to complete purchase with, you should select the payment session associated with that payment provider. To do that, send a `POST` request to the [Select a Payment Session](https://docs.medusajs.com/api/store/#tag/Cart/operation/PostCartsCartPaymentSession) API endpoint: - + ```jsx @@ -271,7 +271,7 @@ This step is optional and is only necessary for some payment providers. As menti If you need to update that data at any point before the purchase is made, send a request to [Update a Payment Session](https://docs.medusajs.com/api/store/#tag/Cart/operation/PostCartsCartPaymentSessionUpdate) API endpoint: - + ```jsx @@ -323,7 +323,7 @@ The last step is to place the order by completing the cart. When you complete th To complete a cart, send a `POST` request to the [Complete a Cart](https://docs.medusajs.com/api/store/#tag/Cart/operation/PostCartsCartComplete) API endpoint: - + ```jsx diff --git a/docs/content/advanced/storefront/use-sales-channels.mdx b/docs/content/advanced/storefront/use-sales-channels.mdx index f4511eb7d3..2473bf5455 100644 --- a/docs/content/advanced/storefront/use-sales-channels.mdx +++ b/docs/content/advanced/storefront/use-sales-channels.mdx @@ -29,7 +29,7 @@ If you follow the JS Client code blocks, it’s assumed you already have [Medusa To filter products by a specific sales channel, pass the `sales_channel_id` query parameter to the List Products endpoint: - + ```jsx @@ -67,7 +67,7 @@ The request returns an array of products. These are the products that are availa To associate a sales channel with a cart while creating it, you can pass the `sales_channel_id` request body parameter with the ID of the sales channel: - + @@ -108,7 +108,7 @@ The request returns the created cart. You can update the sales channel of an existing cart by passing the `sales_channel_id` request body parameter with the ID of the sales channel: - + ```jsx diff --git a/docs/content/deployments/admin/deploying-on-netlify.md b/docs/content/deployments/admin/deploying-on-netlify.md index 7a8438b8f4..3e310835ef 100644 --- a/docs/content/deployments/admin/deploying-on-netlify.md +++ b/docs/content/deployments/admin/deploying-on-netlify.md @@ -1,10 +1,16 @@ +--- +description: 'Learn step-by-step.' +--- + # Deploy Medusa Admin on Netlify In this document, you’ll learn how to deploy the Medusa Admin on [Netlify](https://www.netlify.com/). Alternatively, you can use this button to deploy the Medusa Admin to Netlify directly: -[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/medusajs/admin) + + Deploy to Netlify + ## Prerequisites diff --git a/docs/content/deployments/admin/index.mdx b/docs/content/deployments/admin/index.mdx index 87ca5fa04c..43bdb54b52 100644 --- a/docs/content/deployments/admin/index.mdx +++ b/docs/content/deployments/admin/index.mdx @@ -1,3 +1,7 @@ +--- +hide_table_of_contents: true +--- + import DocCardList from '@theme/DocCardList'; import {useCurrentSidebarCategory} from '@docusaurus/theme-common'; diff --git a/docs/content/deployments/server/deploying-on-digital-ocean.md b/docs/content/deployments/server/deploying-on-digital-ocean.md index 3b2a6edea0..c584cc42a9 100644 --- a/docs/content/deployments/server/deploying-on-digital-ocean.md +++ b/docs/content/deployments/server/deploying-on-digital-ocean.md @@ -1,3 +1,7 @@ +--- +description: 'Learn step-by-step.' +--- + # Deploy Your Medusa Server to DigitalOcean Apps In this document, you'll learn how to deploy your Medusa server to a DigitalOcean App. diff --git a/docs/content/deployments/server/deploying-on-heroku.mdx b/docs/content/deployments/server/deploying-on-heroku.mdx index f6943f3084..c9d2850454 100644 --- a/docs/content/deployments/server/deploying-on-heroku.mdx +++ b/docs/content/deployments/server/deploying-on-heroku.mdx @@ -1,3 +1,7 @@ +--- +description: 'Learn step-by-step.' +--- + import styles from '../deployment.module.css'; import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; @@ -8,7 +12,9 @@ In this document, you'll learn how to deploy your Medusa server on Heroku. Herok Alternatively, you can use this button to deploy the Medusa server to Heroku directly: -[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/medusajs/medusa-starter-default/tree/feat/deploy-heroku) + + Deploy to Heroku +
); diff --git a/www/docs/src/theme/DocSidebar/Desktop/styles.module.css b/www/docs/src/theme/DocSidebar/Desktop/styles.module.css index f7ecfcdf8d..000221175d 100644 --- a/www/docs/src/theme/DocSidebar/Desktop/styles.module.css +++ b/www/docs/src/theme/DocSidebar/Desktop/styles.module.css @@ -51,4 +51,8 @@ .sidebarFooterList li a { padding-left: 1.8em !important; +} + +.sidebarSearchContainer { + margin: 24px 16px 24px; } \ No newline at end of file diff --git a/www/docs/src/theme/Footer/Layout/index.js b/www/docs/src/theme/Footer/Layout/index.js new file mode 100644 index 0000000000..f953b4a51a --- /dev/null +++ b/www/docs/src/theme/Footer/Layout/index.js @@ -0,0 +1,30 @@ +import React from 'react'; +import clsx from 'clsx'; +import SocialLinks from '../SocialLinks'; +import {useThemeConfig} from '@docusaurus/theme-common'; + +export default function FooterLayout({style, links, logo, copyright}) { + const { socialLinks } = useThemeConfig() + + return ( +
+
+ {(logo || copyright || socialLinks) && ( +
+
+ {logo &&
{logo}
} + {copyright} +
+ {socialLinks && } +
+ )} +
+ {links} +
+
+
+ ); +} diff --git a/www/docs/src/theme/Footer/SocialLinks/index.js b/www/docs/src/theme/Footer/SocialLinks/index.js new file mode 100644 index 0000000000..982752b335 --- /dev/null +++ b/www/docs/src/theme/Footer/SocialLinks/index.js @@ -0,0 +1,30 @@ +import React from 'react'; +import useBaseUrl from '@docusaurus/useBaseUrl'; +import ThemedImage from '@theme/ThemedImage'; + +export default function SocialLinks ({ links = [] }) { + const socialIcons = { + twitter: { + light: useBaseUrl('/img/twitter.png'), + dark: useBaseUrl('/img/twitter-dark.png') + }, + github: { + light: useBaseUrl('/img/github.png'), + dark: useBaseUrl('/img/github-dark.png') + }, + discord: { + light: useBaseUrl('/img/discord.png'), + dark: useBaseUrl('/img/discord-dark.png') + } + } + + return ( +
+ {links.map((link) => ( + + + + ))} +
+ ) +} \ No newline at end of file diff --git a/www/docs/src/theme/Icon/Discord/index.js b/www/docs/src/theme/Icon/Discord/index.js new file mode 100644 index 0000000000..bfe6c73192 --- /dev/null +++ b/www/docs/src/theme/Icon/Discord/index.js @@ -0,0 +1,9 @@ +import React from 'react'; + +export default function IconDiscord({width = 18, height = 14}) { + return ( + + + + ); +} diff --git a/www/docs/src/theme/Icon/Edit/index.js b/www/docs/src/theme/Icon/Edit/index.js new file mode 100644 index 0000000000..6aa4b9bb92 --- /dev/null +++ b/www/docs/src/theme/Icon/Edit/index.js @@ -0,0 +1,14 @@ +import React from 'react'; +import clsx from 'clsx'; +import styles from './styles.module.css'; +import ThemedImage from '@theme/ThemedImage'; +import useBaseUrl from '@docusaurus/useBaseUrl'; + +export default function IconEdit({className, ...restProps}) { + return ( + + ); +} diff --git a/www/docs/src/theme/Icon/Edit/styles.module.css b/www/docs/src/theme/Icon/Edit/styles.module.css new file mode 100644 index 0000000000..b8ea840625 --- /dev/null +++ b/www/docs/src/theme/Icon/Edit/styles.module.css @@ -0,0 +1,6 @@ +.iconEdit { + margin-right: 8px; + vertical-align: sub; + width: 20px; + height: 20px; +} diff --git a/www/docs/src/theme/Icon/ExternalLink/index.js b/www/docs/src/theme/Icon/ExternalLink/index.js new file mode 100644 index 0000000000..d5244c1905 --- /dev/null +++ b/www/docs/src/theme/Icon/ExternalLink/index.js @@ -0,0 +1,15 @@ +import React from 'react'; +import styles from './styles.module.css'; +export default function IconExternalLink({width = 16, height = 16}) { + return ( + + + + + ); +} diff --git a/www/docs/src/theme/Icon/ExternalLink/styles.module.css b/www/docs/src/theme/Icon/ExternalLink/styles.module.css new file mode 100644 index 0000000000..9468b1998b --- /dev/null +++ b/www/docs/src/theme/Icon/ExternalLink/styles.module.css @@ -0,0 +1,3 @@ +.iconExternalLink { + margin-left: 0.3rem; +} diff --git a/www/docs/src/theme/Icon/GitHub/index.js b/www/docs/src/theme/Icon/GitHub/index.js new file mode 100644 index 0000000000..098631906b --- /dev/null +++ b/www/docs/src/theme/Icon/GitHub/index.js @@ -0,0 +1,9 @@ +import React from 'react'; + +export default function IconGitHub({width = 18, height = 18}) { + return ( + + + + ); +} diff --git a/www/docs/src/theme/Icon/Twitter/index.js b/www/docs/src/theme/Icon/Twitter/index.js new file mode 100644 index 0000000000..89e259276b --- /dev/null +++ b/www/docs/src/theme/Icon/Twitter/index.js @@ -0,0 +1,9 @@ +import React from 'react'; + +export default function IconTwitter({width = 18, height = 16}) { + return ( + + + + ); +} diff --git a/www/docs/src/theme/MDXComponents/InlineCode.js b/www/docs/src/theme/MDXComponents/InlineCode.js new file mode 100644 index 0000000000..8db161d468 --- /dev/null +++ b/www/docs/src/theme/MDXComponents/InlineCode.js @@ -0,0 +1,11 @@ +import React, {isValidElement} from 'react'; +import CopyButton from '../CopyButton'; + +export default function MDXInlineCode(props) { + + return ( + + + + ) +} diff --git a/www/docs/src/theme/MDXComponents/index.js b/www/docs/src/theme/MDXComponents/index.js new file mode 100644 index 0000000000..726ca83f15 --- /dev/null +++ b/www/docs/src/theme/MDXComponents/index.js @@ -0,0 +1,12 @@ +import React from 'react'; +// Import the original mapper +import MDXComponents from '@theme-original/MDXComponents'; +import InlineCode from './InlineCode' + +export default { + // Re-use the default mapping + ...MDXComponents, + // Map the "highlight" tag to our component! + // `Highlight` will receive all props that were passed to `highlight` in MDX + inlineCode: InlineCode, +}; \ No newline at end of file diff --git a/www/docs/src/theme/Navbar/Content/index.js b/www/docs/src/theme/Navbar/Content/index.js new file mode 100644 index 0000000000..e1f7e97773 --- /dev/null +++ b/www/docs/src/theme/Navbar/Content/index.js @@ -0,0 +1,62 @@ +import React from 'react'; +import {useThemeConfig} from '@docusaurus/theme-common'; +import { + splitNavbarItems, + useNavbarMobileSidebar, +} from '@docusaurus/theme-common/internal'; +import NavbarItem from '@theme/NavbarItem'; +import NavbarColorModeToggle from '@theme/Navbar/ColorModeToggle'; +import SearchBar from '@theme/SearchBar'; +import NavbarMobileSidebarToggle from '@theme/Navbar/MobileSidebar/Toggle'; +import NavbarLogo from '@theme/Navbar/Logo'; +import NavbarSearch from '@theme/Navbar/Search'; +import styles from './styles.module.css'; +function useNavbarItems() { + // TODO temporary casting until ThemeConfig type is improved + return useThemeConfig().navbar.items; +} +function NavbarItems({items}) { + return ( + <> + {items.map((item, i) => ( + + ))} + + ); +} +function NavbarContentLayout({left, right}) { + return ( +
+
{left}
+
{right}
+
+ ); +} +export default function NavbarContent() { + const mobileSidebar = useNavbarMobileSidebar(); + const items = useNavbarItems(); + const [leftItems, rightItems] = splitNavbarItems(items); + return ( + + {!mobileSidebar.disabled && } + + + + } + right={ + // TODO stop hardcoding items? + // Ask the user to add the respective navbar items => more flexible + <> + + + + + + + } + /> + ); +} diff --git a/www/docs/src/theme/Navbar/Content/styles.module.css b/www/docs/src/theme/Navbar/Content/styles.module.css new file mode 100644 index 0000000000..4c9471e109 --- /dev/null +++ b/www/docs/src/theme/Navbar/Content/styles.module.css @@ -0,0 +1,8 @@ +/* +Hide color mode toggle in small viewports + */ +@media (max-width: 996px) { + .colorModeToggle { + display: none; + } +} diff --git a/www/docs/src/theme/Navbar/MobileSidebar/Header/index.js b/www/docs/src/theme/Navbar/MobileSidebar/Header/index.js new file mode 100644 index 0000000000..266b277769 --- /dev/null +++ b/www/docs/src/theme/Navbar/MobileSidebar/Header/index.js @@ -0,0 +1,23 @@ +import React from 'react'; +import {useNavbarMobileSidebar} from '@docusaurus/theme-common/internal'; +import IconClose from '@theme/Icon/Close'; +import NavbarLogo from '@theme/Navbar/Logo'; +function CloseButton() { + const mobileSidebar = useNavbarMobileSidebar(); + return ( + + ); +} +export default function NavbarMobileSidebarHeader() { + return ( +
+ + +
+ ); +} diff --git a/www/docs/src/theme/Navbar/MobileSidebar/PrimaryMenu/index.js b/www/docs/src/theme/Navbar/MobileSidebar/PrimaryMenu/index.js new file mode 100644 index 0000000000..f09af72939 --- /dev/null +++ b/www/docs/src/theme/Navbar/MobileSidebar/PrimaryMenu/index.js @@ -0,0 +1,29 @@ +import React from 'react'; +import {useThemeConfig} from '@docusaurus/theme-common'; +import {useNavbarMobileSidebar} from '@docusaurus/theme-common/internal'; +import NavbarItem from '@theme/NavbarItem'; +import NavbarColorModeToggle from '@theme/Navbar/ColorModeToggle'; +function useNavbarItems() { + // TODO temporary casting until ThemeConfig type is improved + return useThemeConfig().navbar.items; +} +// The primary menu displays the navbar items +export default function NavbarMobilePrimaryMenu() { + const mobileSidebar = useNavbarMobileSidebar(); + // TODO how can the order be defined for mobile? + // Should we allow providing a different list of items? + const items = useNavbarItems(); + return ( +
    + {items.map((item, i) => ( + mobileSidebar.toggle()} + key={i} + /> + ))} + +
+ ); +} diff --git a/www/docs/src/theme/SearchPage/index.js b/www/docs/src/theme/SearchPage/index.js index 512eda54de..819bbe15df 100644 --- a/www/docs/src/theme/SearchPage/index.js +++ b/www/docs/src/theme/SearchPage/index.js @@ -334,41 +334,6 @@ function SearchPageContent() { {!!searchResultState.totalResults && documentsFoundPlural(searchResultState.totalResults)} - - {searchResultState.items.length > 0 ? ( diff --git a/www/docs/src/theme/SearchPage/styles.module.css b/www/docs/src/theme/SearchPage/styles.module.css index 57de7498db..8fc257edae 100644 --- a/www/docs/src/theme/SearchPage/styles.module.css +++ b/www/docs/src/theme/SearchPage/styles.module.css @@ -1,11 +1,11 @@ .searchQueryInput, .searchVersionInput { border-radius: var(--ifm-global-radius); - border: 2px solid var(--ifm-toc-border-color); + border: 1px solid var(--ifm-toc-border-color); font: var(--ifm-font-size-base) var(--ifm-font-family-base); padding: 0.8rem; width: 100%; - background: var(--docsearch-searchbox-focus-background); + background: var(--docsearch-searchbox-background); color: var(--docsearch-text-color); margin-bottom: 0.5rem; transition: border var(--ifm-transition-fast) ease; @@ -13,8 +13,9 @@ .searchQueryInput:focus, .searchVersionInput:focus { - border-color: var(--docsearch-primary-color); + border-color: var(--docsearch-searchbox-border-color); outline: none; + box-shadow: var(--docsearch-searchbox-shadow); } .searchQueryInput::placeholder { diff --git a/www/docs/src/theme/Tabs/index.js b/www/docs/src/theme/Tabs/index.js index 4201a3fa19..c39fb4afbf 100644 --- a/www/docs/src/theme/Tabs/index.js +++ b/www/docs/src/theme/Tabs/index.js @@ -1,8 +1,174 @@ -import React, { useEffect } from 'react'; +import React, {useState, cloneElement, isValidElement, useEffect} from 'react'; +import clsx from 'clsx'; +import useIsBrowser from '@docusaurus/useIsBrowser'; +import {duplicates} from '@docusaurus/theme-common'; +import { + useScrollPositionBlocker, + useTabGroupChoice, +} from '@docusaurus/theme-common/internal'; +import styles from './styles.module.css'; +// A very rough duck type, but good enough to guard against mistakes while +// allowing customization +function isTabItem(comp) { + return 'value' in comp.props; +} +function TabsComponent(props) { + const { + lazy, + block, + defaultValue: defaultValueProp, + values: valuesProp, + groupId, + className, + } = props; + const children = React.Children.map(props.children, (child) => { + if (isValidElement(child) && isTabItem(child)) { + return child; + } + // child.type.name will give non-sensical values in prod because of + // minification, but we assume it won't throw in prod. + throw new Error( + `Docusaurus error: Bad child <${ + // @ts-expect-error: guarding against unexpected cases + typeof child.type === 'string' ? child.type : child.type.name + }>: all children of the component should be , and every should have a unique "value" prop.`, + ); + }); + const values = + valuesProp ?? + // Only pick keys that we recognize. MDX would inject some keys by default + children.map(({props: {value, label, attributes}}) => ({ + value, + label, + attributes, + })); + const dup = duplicates(values, (a, b) => a.value === b.value); + if (dup.length > 0) { + throw new Error( + `Docusaurus error: Duplicate values "${dup + .map((a) => a.value) + .join(', ')}" found in . Every value needs to be unique.`, + ); + } + // When defaultValueProp is null, don't show a default tab + const defaultValue = + defaultValueProp === null + ? defaultValueProp + : defaultValueProp ?? + children.find((child) => child.props.default)?.props.value ?? + children[0].props.value; + if (defaultValue !== null && !values.some((a) => a.value === defaultValue)) { + throw new Error( + `Docusaurus error: The has a defaultValue "${defaultValue}" but none of its children has the corresponding value. Available values are: ${values + .map((a) => a.value) + .join( + ', ', + )}. If you intend to show no default tab, use defaultValue={null} instead.`, + ); + } + const {tabGroupChoices, setTabGroupChoices} = useTabGroupChoice(); + const [selectedValue, setSelectedValue] = useState(defaultValue); + const tabRefs = []; + const {blockElementScrollPositionUntilNextRender} = + useScrollPositionBlocker(); + if (groupId != null) { + const relevantTabGroupChoice = tabGroupChoices[groupId]; + if ( + relevantTabGroupChoice != null && + relevantTabGroupChoice !== selectedValue && + values.some((value) => value.value === relevantTabGroupChoice) + ) { + setSelectedValue(relevantTabGroupChoice); + } + } + const handleTabChange = (event) => { + const newTab = event.currentTarget; + const newTabIndex = tabRefs.indexOf(newTab); + const newTabValue = values[newTabIndex].value; + if (newTabValue !== selectedValue) { + blockElementScrollPositionUntilNextRender(newTab); + setSelectedValue(newTabValue); + if (groupId != null) { + setTabGroupChoices(groupId, String(newTabValue)); + } + } + }; + const handleKeydown = (event) => { + let focusElement = null; + switch (event.key) { + case 'ArrowRight': { + const nextTab = tabRefs.indexOf(event.currentTarget) + 1; + focusElement = tabRefs[nextTab] ?? tabRefs[0]; + break; + } + case 'ArrowLeft': { + const prevTab = tabRefs.indexOf(event.currentTarget) - 1; + focusElement = tabRefs[prevTab] ?? tabRefs[tabRefs.length - 1]; + break; + } + default: + break; + } + focusElement?.focus(); + }; + return ( +
+
    + {values.map(({value, label, attributes}) => ( +
  • tabRefs.push(tabControl)} + onKeyDown={handleKeydown} + onFocus={handleTabChange} + onClick={handleTabChange} + {...attributes} + className={clsx( + 'tabs__item', + styles.tabItem, + attributes?.className, + { + 'tabs__item--active': selectedValue === value, + }, + )}> + {label ?? value} +
  • + ))} +
-import Tabs from '@theme-original/Tabs'; + {lazy ? ( + cloneElement( + children.filter( + (tabItem) => tabItem.props.value === selectedValue, + )[0], + ) + ) : ( +
+ {children.map((tabItem, i) => + cloneElement(tabItem, { + key: i, + hidden: tabItem.props.value !== selectedValue, + }), + )} +
+ )} +
+ ); +} -export default function TabsWrapper(props) { +export default function Tabs(props) { + const isBrowser = useIsBrowser(); useEffect(() => { if (!window.localStorage.getItem('docusaurus.tab.npm2yarn')) { @@ -12,8 +178,13 @@ export default function TabsWrapper(props) { }, []) return ( -
- +
+
); } diff --git a/www/docs/src/theme/Tabs/styles.module.css b/www/docs/src/theme/Tabs/styles.module.css new file mode 100644 index 0000000000..0c79270e70 --- /dev/null +++ b/www/docs/src/theme/Tabs/styles.module.css @@ -0,0 +1,7 @@ +.tabList { + margin-bottom: var(--ifm-leading); +} + +.tabItem { + margin-top: 0 !important; +} diff --git a/www/docs/src/theme/Tooltip/index.js b/www/docs/src/theme/Tooltip/index.js new file mode 100644 index 0000000000..d17dd333e8 --- /dev/null +++ b/www/docs/src/theme/Tooltip/index.js @@ -0,0 +1,20 @@ +import React from 'react'; + +export default function Tooltip ({ children, text, tooltipClassName, ...rest }) { + const [show, setShow] = React.useState(false); + + return ( +
+
+ {text} +
+
setShow(true)} + onMouseLeave={() => setShow(false)} + {...rest} + > + {children} +
+
+ ); +}; \ No newline at end of file diff --git a/www/docs/src/themes/medusaDocs.js b/www/docs/src/themes/medusaDocs.js new file mode 100644 index 0000000000..120fc1830d --- /dev/null +++ b/www/docs/src/themes/medusaDocs.js @@ -0,0 +1,11 @@ +const palenightTheme = require("prism-react-renderer/themes/palenight") + +const theme = { + ...palenightTheme, + plain: { + color: palenightTheme.plain.color, + backgroundColor: '#262626' + } +} + +module.exports = theme; \ No newline at end of file diff --git a/www/docs/static/img/admin-icon-dark.svg b/www/docs/static/img/admin-icon-dark.svg new file mode 100644 index 0000000000..b8b63d4a34 --- /dev/null +++ b/www/docs/static/img/admin-icon-dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/www/docs/static/img/admin-icon.svg b/www/docs/static/img/admin-icon.svg new file mode 100644 index 0000000000..48a2194f3d --- /dev/null +++ b/www/docs/static/img/admin-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/www/docs/static/img/alert-code-dark.png b/www/docs/static/img/alert-code-dark.png new file mode 100644 index 0000000000..f8e8867283 Binary files /dev/null and b/www/docs/static/img/alert-code-dark.png differ diff --git a/www/docs/static/img/alert-code-dark.svg b/www/docs/static/img/alert-code-dark.svg new file mode 100644 index 0000000000..5d8083b910 --- /dev/null +++ b/www/docs/static/img/alert-code-dark.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/www/docs/static/img/alert-code.png b/www/docs/static/img/alert-code.png new file mode 100644 index 0000000000..a39f2dbcb4 Binary files /dev/null and b/www/docs/static/img/alert-code.png differ diff --git a/www/docs/static/img/alert-code.svg b/www/docs/static/img/alert-code.svg new file mode 100644 index 0000000000..61aff66ab1 --- /dev/null +++ b/www/docs/static/img/alert-code.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/www/docs/static/img/alert-icon.png b/www/docs/static/img/alert-icon.png new file mode 100644 index 0000000000..5c89e5e92a Binary files /dev/null and b/www/docs/static/img/alert-icon.png differ diff --git a/www/docs/static/img/cart-icon-dark.svg b/www/docs/static/img/cart-icon-dark.svg new file mode 100644 index 0000000000..7c2ef9bc61 --- /dev/null +++ b/www/docs/static/img/cart-icon-dark.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/www/docs/static/img/cart-icon.svg b/www/docs/static/img/cart-icon.svg new file mode 100644 index 0000000000..98ac45040d --- /dev/null +++ b/www/docs/static/img/cart-icon.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/www/docs/static/img/circle-dark-hover.png b/www/docs/static/img/circle-dark-hover.png new file mode 100644 index 0000000000..e2b6140975 Binary files /dev/null and b/www/docs/static/img/circle-dark-hover.png differ diff --git a/www/docs/static/img/circle-dark.png b/www/docs/static/img/circle-dark.png new file mode 100644 index 0000000000..1835cb0dff Binary files /dev/null and b/www/docs/static/img/circle-dark.png differ diff --git a/www/docs/static/img/circle-hover.png b/www/docs/static/img/circle-hover.png new file mode 100644 index 0000000000..69ee55c5c6 Binary files /dev/null and b/www/docs/static/img/circle-hover.png differ diff --git a/www/docs/static/img/circle.png b/www/docs/static/img/circle.png new file mode 100644 index 0000000000..8df5d7f4c7 Binary files /dev/null and b/www/docs/static/img/circle.png differ diff --git a/www/docs/static/img/clipboard-copy-dark.png b/www/docs/static/img/clipboard-copy-dark.png new file mode 100644 index 0000000000..aa1f7d6b73 Binary files /dev/null and b/www/docs/static/img/clipboard-copy-dark.png differ diff --git a/www/docs/static/img/clipboard-copy-dark.svg b/www/docs/static/img/clipboard-copy-dark.svg new file mode 100644 index 0000000000..a6e570d21a --- /dev/null +++ b/www/docs/static/img/clipboard-copy-dark.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/www/docs/static/img/clipboard-copy.png b/www/docs/static/img/clipboard-copy.png new file mode 100644 index 0000000000..ed76decf50 Binary files /dev/null and b/www/docs/static/img/clipboard-copy.png differ diff --git a/www/docs/static/img/clipboard-copy.svg b/www/docs/static/img/clipboard-copy.svg new file mode 100644 index 0000000000..08f5b5264c --- /dev/null +++ b/www/docs/static/img/clipboard-copy.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/www/docs/static/img/dev-env-icon-dark.svg b/www/docs/static/img/dev-env-icon-dark.svg new file mode 100644 index 0000000000..caad3c7bf3 --- /dev/null +++ b/www/docs/static/img/dev-env-icon-dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/www/docs/static/img/dev-env-icon.svg b/www/docs/static/img/dev-env-icon.svg new file mode 100644 index 0000000000..149d9df5ed --- /dev/null +++ b/www/docs/static/img/dev-env-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/www/docs/static/img/discord-dark.png b/www/docs/static/img/discord-dark.png new file mode 100644 index 0000000000..b92de038e6 Binary files /dev/null and b/www/docs/static/img/discord-dark.png differ diff --git a/www/docs/static/img/discord.png b/www/docs/static/img/discord.png new file mode 100644 index 0000000000..efc024175a Binary files /dev/null and b/www/docs/static/img/discord.png differ diff --git a/www/docs/static/img/edit-dark.png b/www/docs/static/img/edit-dark.png new file mode 100644 index 0000000000..e460c1fb34 Binary files /dev/null and b/www/docs/static/img/edit-dark.png differ diff --git a/www/docs/static/img/edit.png b/www/docs/static/img/edit.png new file mode 100644 index 0000000000..15b833d9a3 Binary files /dev/null and b/www/docs/static/img/edit.png differ diff --git a/www/docs/static/img/fast-delivery-icon-dark.svg b/www/docs/static/img/fast-delivery-icon-dark.svg new file mode 100644 index 0000000000..00da319950 --- /dev/null +++ b/www/docs/static/img/fast-delivery-icon-dark.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/www/docs/static/img/fast-delivery-icon.svg b/www/docs/static/img/fast-delivery-icon.svg new file mode 100644 index 0000000000..b538501158 --- /dev/null +++ b/www/docs/static/img/fast-delivery-icon.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/www/docs/static/img/favicon.ico b/www/docs/static/img/favicon.ico index 1015cd35c7..bebbf17e40 100644 Binary files a/www/docs/static/img/favicon.ico and b/www/docs/static/img/favicon.ico differ diff --git a/www/docs/static/img/gatsby-icon-dark.svg b/www/docs/static/img/gatsby-icon-dark.svg new file mode 100644 index 0000000000..92a8c31ccd --- /dev/null +++ b/www/docs/static/img/gatsby-icon-dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/www/docs/static/img/gatsby-icon.svg b/www/docs/static/img/gatsby-icon.svg new file mode 100644 index 0000000000..0017f78570 --- /dev/null +++ b/www/docs/static/img/gatsby-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/www/docs/static/img/github-dark.png b/www/docs/static/img/github-dark.png new file mode 100644 index 0000000000..aca8459a6f Binary files /dev/null and b/www/docs/static/img/github-dark.png differ diff --git a/www/docs/static/img/github.png b/www/docs/static/img/github.png new file mode 100644 index 0000000000..26ecc91351 Binary files /dev/null and b/www/docs/static/img/github.png differ diff --git a/www/docs/static/img/info-icon.png b/www/docs/static/img/info-icon.png new file mode 100644 index 0000000000..35df919c57 Binary files /dev/null and b/www/docs/static/img/info-icon.png differ diff --git a/www/docs/static/img/info.svg b/www/docs/static/img/info.svg index 16e435a570..25d5282f93 100644 --- a/www/docs/static/img/info.svg +++ b/www/docs/static/img/info.svg @@ -1,5 +1,3 @@ - - - - + + diff --git a/www/docs/static/img/link-icon-dark.svg b/www/docs/static/img/link-icon-dark.svg new file mode 100644 index 0000000000..603d8aa46d --- /dev/null +++ b/www/docs/static/img/link-icon-dark.svg @@ -0,0 +1,4 @@ + + + + diff --git a/www/docs/static/img/link-icon.svg b/www/docs/static/img/link-icon.svg new file mode 100644 index 0000000000..773a050527 --- /dev/null +++ b/www/docs/static/img/link-icon.svg @@ -0,0 +1,4 @@ + + + + diff --git a/www/docs/static/img/logo-dark.png b/www/docs/static/img/logo-dark.png new file mode 100644 index 0000000000..c663c229ae Binary files /dev/null and b/www/docs/static/img/logo-dark.png differ diff --git a/www/docs/static/img/logo-dark.svg b/www/docs/static/img/logo-dark.svg index d72daaf71b..7e66da9403 100644 --- a/www/docs/static/img/logo-dark.svg +++ b/www/docs/static/img/logo-dark.svg @@ -1,15 +1,9 @@ - - - - - - - - + + - - - + + + diff --git a/www/docs/static/img/logo.png b/www/docs/static/img/logo.png index a245f35d88..b62e642839 100644 Binary files a/www/docs/static/img/logo.png and b/www/docs/static/img/logo.png differ diff --git a/www/docs/static/img/logo.svg b/www/docs/static/img/logo.svg index 2c11fd5b16..22987c524f 100644 --- a/www/docs/static/img/logo.svg +++ b/www/docs/static/img/logo.svg @@ -1,15 +1,3 @@ - - - - - - - - - - - - - - + + diff --git a/www/docs/static/img/nextjs-icon-dark.svg b/www/docs/static/img/nextjs-icon-dark.svg new file mode 100644 index 0000000000..ce51ce852e --- /dev/null +++ b/www/docs/static/img/nextjs-icon-dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/www/docs/static/img/nextjs-icon.svg b/www/docs/static/img/nextjs-icon.svg new file mode 100644 index 0000000000..2492f2108d --- /dev/null +++ b/www/docs/static/img/nextjs-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/www/docs/static/img/payment-accepted-icon-dark.svg b/www/docs/static/img/payment-accepted-icon-dark.svg new file mode 100644 index 0000000000..2cad4d9ada --- /dev/null +++ b/www/docs/static/img/payment-accepted-icon-dark.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/www/docs/static/img/payment-accepted-icon.svg b/www/docs/static/img/payment-accepted-icon.svg new file mode 100644 index 0000000000..279d781199 --- /dev/null +++ b/www/docs/static/img/payment-accepted-icon.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/www/docs/static/img/quickstart-icon.svg b/www/docs/static/img/quickstart-icon.svg new file mode 100644 index 0000000000..d06c15f482 --- /dev/null +++ b/www/docs/static/img/quickstart-icon.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/www/docs/static/img/search-hit.png b/www/docs/static/img/search-hit.png new file mode 100644 index 0000000000..3099be91c1 Binary files /dev/null and b/www/docs/static/img/search-hit.png differ diff --git a/www/docs/static/img/server-icon-dark.svg b/www/docs/static/img/server-icon-dark.svg new file mode 100644 index 0000000000..23680ed38b --- /dev/null +++ b/www/docs/static/img/server-icon-dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/www/docs/static/img/server-icon.svg b/www/docs/static/img/server-icon.svg new file mode 100644 index 0000000000..2a7cf438dc --- /dev/null +++ b/www/docs/static/img/server-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/www/docs/static/img/side-menu-dark.svg b/www/docs/static/img/side-menu-dark.svg new file mode 100644 index 0000000000..88e6a30063 --- /dev/null +++ b/www/docs/static/img/side-menu-dark.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/www/docs/static/img/side-menu.svg b/www/docs/static/img/side-menu.svg new file mode 100644 index 0000000000..dc5fd728bb --- /dev/null +++ b/www/docs/static/img/side-menu.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/www/docs/static/img/stripe-icon-dark.svg b/www/docs/static/img/stripe-icon-dark.svg new file mode 100644 index 0000000000..ff2c081a52 --- /dev/null +++ b/www/docs/static/img/stripe-icon-dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/www/docs/static/img/stripe-icon.svg b/www/docs/static/img/stripe-icon.svg new file mode 100644 index 0000000000..1d5dd40cb1 --- /dev/null +++ b/www/docs/static/img/stripe-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/www/docs/static/img/tee-icon-dark.svg b/www/docs/static/img/tee-icon-dark.svg new file mode 100644 index 0000000000..3537f92a2d --- /dev/null +++ b/www/docs/static/img/tee-icon-dark.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/www/docs/static/img/tee-icon.svg b/www/docs/static/img/tee-icon.svg new file mode 100644 index 0000000000..fc03a4c037 --- /dev/null +++ b/www/docs/static/img/tee-icon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/www/docs/static/img/terminal-icon-dark.svg b/www/docs/static/img/terminal-icon-dark.svg new file mode 100644 index 0000000000..f27e06d45d --- /dev/null +++ b/www/docs/static/img/terminal-icon-dark.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/www/docs/static/img/terminal-icon.svg b/www/docs/static/img/terminal-icon.svg new file mode 100644 index 0000000000..7c9051d930 --- /dev/null +++ b/www/docs/static/img/terminal-icon.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/www/docs/static/img/tip-icon.png b/www/docs/static/img/tip-icon.png new file mode 100644 index 0000000000..2f4bbf2f81 Binary files /dev/null and b/www/docs/static/img/tip-icon.png differ diff --git a/www/docs/static/img/tip.svg b/www/docs/static/img/tip.svg new file mode 100644 index 0000000000..c16aa8e326 --- /dev/null +++ b/www/docs/static/img/tip.svg @@ -0,0 +1,3 @@ + + + diff --git a/www/docs/static/img/triangle-right-dark-hover.png b/www/docs/static/img/triangle-right-dark-hover.png new file mode 100644 index 0000000000..f441eaf939 Binary files /dev/null and b/www/docs/static/img/triangle-right-dark-hover.png differ diff --git a/www/docs/static/img/triangle-right-dark.png b/www/docs/static/img/triangle-right-dark.png new file mode 100644 index 0000000000..8762567691 Binary files /dev/null and b/www/docs/static/img/triangle-right-dark.png differ diff --git a/www/docs/static/img/triangle-right-hover.png b/www/docs/static/img/triangle-right-hover.png new file mode 100644 index 0000000000..88cc556930 Binary files /dev/null and b/www/docs/static/img/triangle-right-hover.png differ diff --git a/www/docs/static/img/triangle-right.png b/www/docs/static/img/triangle-right.png new file mode 100644 index 0000000000..b4e41e5664 Binary files /dev/null and b/www/docs/static/img/triangle-right.png differ diff --git a/www/docs/static/img/twitter-dark.png b/www/docs/static/img/twitter-dark.png new file mode 100644 index 0000000000..07dce723b2 Binary files /dev/null and b/www/docs/static/img/twitter-dark.png differ diff --git a/www/docs/static/img/twitter.png b/www/docs/static/img/twitter.png new file mode 100644 index 0000000000..dd3f2fd1b5 Binary files /dev/null and b/www/docs/static/img/twitter.png differ diff --git a/www/docs/static/img/warning.svg b/www/docs/static/img/warning.svg new file mode 100644 index 0000000000..f0711f8c66 --- /dev/null +++ b/www/docs/static/img/warning.svg @@ -0,0 +1,3 @@ + + + diff --git a/www/docs/yarn.lock b/www/docs/yarn.lock index 3e6cb51ae9..1bc0a0a752 100644 --- a/www/docs/yarn.lock +++ b/www/docs/yarn.lock @@ -1663,9 +1663,9 @@ __metadata: languageName: node linkType: hard -"@docusaurus/core@latest, @docusaurus/core@npm:2.1.0": - version: 2.1.0 - resolution: "@docusaurus/core@npm:2.1.0" +"@docusaurus/core@npm:2.2.0, @docusaurus/core@npm:latest": + version: 2.2.0 + resolution: "@docusaurus/core@npm:2.2.0" dependencies: "@babel/core": ^7.18.6 "@babel/generator": ^7.18.7 @@ -1677,13 +1677,13 @@ __metadata: "@babel/runtime": ^7.18.6 "@babel/runtime-corejs3": ^7.18.6 "@babel/traverse": ^7.18.8 - "@docusaurus/cssnano-preset": 2.1.0 - "@docusaurus/logger": 2.1.0 - "@docusaurus/mdx-loader": 2.1.0 + "@docusaurus/cssnano-preset": 2.2.0 + "@docusaurus/logger": 2.2.0 + "@docusaurus/mdx-loader": 2.2.0 "@docusaurus/react-loadable": 5.5.2 - "@docusaurus/utils": 2.1.0 - "@docusaurus/utils-common": 2.1.0 - "@docusaurus/utils-validation": 2.1.0 + "@docusaurus/utils": 2.2.0 + "@docusaurus/utils-common": 2.2.0 + "@docusaurus/utils-validation": 2.2.0 "@slorber/static-site-generator-webpack-plugin": ^4.0.7 "@svgr/webpack": ^6.2.1 autoprefixer: ^10.4.7 @@ -1743,40 +1743,40 @@ __metadata: react-dom: ^16.8.4 || ^17.0.0 bin: docusaurus: bin/docusaurus.mjs - checksum: 928ad0786e83123df44f9bb523179984ad4d5520042d1c5a8bc1a5d34ee8549553439991010dfefcf364d027b8456fd861eb70b3ec98c7546a1aab3213f60940 + checksum: cb3a5b031269f7f869f18a47759edc52d88ed84a13e1ac783356c43e77030cf939d0be72372c5b347066766969f6c02ecad8613d55771b9d953a57cc12d51d29 languageName: node linkType: hard -"@docusaurus/cssnano-preset@npm:2.1.0": - version: 2.1.0 - resolution: "@docusaurus/cssnano-preset@npm:2.1.0" +"@docusaurus/cssnano-preset@npm:2.2.0": + version: 2.2.0 + resolution: "@docusaurus/cssnano-preset@npm:2.2.0" dependencies: cssnano-preset-advanced: ^5.3.8 postcss: ^8.4.14 postcss-sort-media-queries: ^4.2.1 tslib: ^2.4.0 - checksum: 30805ad1701500a3f67fec98b27a6c8c9bdb8699b5e774f790eccb8938f8ed3c8e70a487dbf6ca1c0027d04858d5e676505ab699fbc7943d581cfa9ba9a870ac + checksum: 1ee5a2ead5af98513d1c26f21fe8305eff7aedad730a4e5b1047f28d4bf14f56e7485a57e374c2615879c1bf8199ec67ffda3fd8ec3fa3c622de7a18afff6f15 languageName: node linkType: hard -"@docusaurus/logger@npm:2.1.0": - version: 2.1.0 - resolution: "@docusaurus/logger@npm:2.1.0" +"@docusaurus/logger@npm:2.2.0": + version: 2.2.0 + resolution: "@docusaurus/logger@npm:2.2.0" dependencies: chalk: ^4.1.2 tslib: ^2.4.0 - checksum: 24e123d127c10e54c40f99ccf0835b422aac7f3acf7a5b9e34ba83a3e743ce7e76183b624da0dd0fd167c20351681ff6cea58261fc1131f03feee8bd54cb25b6 + checksum: 799e94e937fe1c2a7e55a46d28b6a27bc916556e7e332bcc8a749552d43fbdc584610cc40f0d70e0dc5ef87ec143671f9b9e6449e7f20640804806bc4b19cfdf languageName: node linkType: hard -"@docusaurus/mdx-loader@npm:2.1.0": - version: 2.1.0 - resolution: "@docusaurus/mdx-loader@npm:2.1.0" +"@docusaurus/mdx-loader@npm:2.2.0": + version: 2.2.0 + resolution: "@docusaurus/mdx-loader@npm:2.2.0" dependencies: "@babel/parser": ^7.18.8 "@babel/traverse": ^7.18.8 - "@docusaurus/logger": 2.1.0 - "@docusaurus/utils": 2.1.0 + "@docusaurus/logger": 2.2.0 + "@docusaurus/utils": 2.2.0 "@mdx-js/mdx": ^1.6.22 escape-html: ^1.0.3 file-loader: ^6.2.0 @@ -1793,16 +1793,16 @@ __metadata: peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: 1d5ade44eedadce85140d896599c2c9ecb1fa63c9c36f50d6a24729600768860ca6be2bd6cf22dd6c93e7d9fee16031d09a5605439e2bf2969f67383ee246d8f + checksum: 38ef01363c514fc986b9168dbacd8c9ffb8973bc2c5b280ad3730bde15ca0bb87decf0c739ddd293e183aa36b42ced254b6ed8129347c02beae54d570b9297ca languageName: node linkType: hard -"@docusaurus/module-type-aliases@npm:2.1.0": - version: 2.1.0 - resolution: "@docusaurus/module-type-aliases@npm:2.1.0" +"@docusaurus/module-type-aliases@npm:2.2.0": + version: 2.2.0 + resolution: "@docusaurus/module-type-aliases@npm:2.2.0" dependencies: "@docusaurus/react-loadable": 5.5.2 - "@docusaurus/types": 2.1.0 + "@docusaurus/types": 2.2.0 "@types/history": ^4.7.11 "@types/react": "*" "@types/react-router-config": "*" @@ -1812,21 +1812,21 @@ __metadata: peerDependencies: react: "*" react-dom: "*" - checksum: 2249499a23edd9aa8c961414c912c260c2d0f11465c6fdec5e90fe33d92c57dd1f0d262382cc4d647d0d22d501d14645301a5321aaf26e3b7b6f205b45379b76 + checksum: 8c20726ef15dfdb618049a1be649e6cd7e8866672a86656160aa68988a9b44181c13f88164d6e0dc637e71fda387620f98bf03273f69ef38f28a797b2fc01c30 languageName: node linkType: hard -"@docusaurus/plugin-content-blog@npm:2.1.0": - version: 2.1.0 - resolution: "@docusaurus/plugin-content-blog@npm:2.1.0" +"@docusaurus/plugin-content-blog@npm:2.2.0": + version: 2.2.0 + resolution: "@docusaurus/plugin-content-blog@npm:2.2.0" dependencies: - "@docusaurus/core": 2.1.0 - "@docusaurus/logger": 2.1.0 - "@docusaurus/mdx-loader": 2.1.0 - "@docusaurus/types": 2.1.0 - "@docusaurus/utils": 2.1.0 - "@docusaurus/utils-common": 2.1.0 - "@docusaurus/utils-validation": 2.1.0 + "@docusaurus/core": 2.2.0 + "@docusaurus/logger": 2.2.0 + "@docusaurus/mdx-loader": 2.2.0 + "@docusaurus/types": 2.2.0 + "@docusaurus/utils": 2.2.0 + "@docusaurus/utils-common": 2.2.0 + "@docusaurus/utils-validation": 2.2.0 cheerio: ^1.0.0-rc.12 feed: ^4.2.2 fs-extra: ^10.1.0 @@ -1839,21 +1839,21 @@ __metadata: peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: 173fa5b16ea08dd6eb14704f4393c720c6416272c8f52656b5a82167e3e2e1a5e8ee3474645a19a9660493d40ccc085f47948e06cdacffa426dbc9c3891e4432 + checksum: ba4b7a55c1810f90ff9923cb459b21a47ad58c225e3fcf513f83136f9beb805d99041a74bea8984e52078a95ebe0880efc2bc102cf04170b90fbbbebbd5b5939 languageName: node linkType: hard -"@docusaurus/plugin-content-docs@npm:2.1.0": - version: 2.1.0 - resolution: "@docusaurus/plugin-content-docs@npm:2.1.0" +"@docusaurus/plugin-content-docs@npm:2.2.0": + version: 2.2.0 + resolution: "@docusaurus/plugin-content-docs@npm:2.2.0" dependencies: - "@docusaurus/core": 2.1.0 - "@docusaurus/logger": 2.1.0 - "@docusaurus/mdx-loader": 2.1.0 - "@docusaurus/module-type-aliases": 2.1.0 - "@docusaurus/types": 2.1.0 - "@docusaurus/utils": 2.1.0 - "@docusaurus/utils-validation": 2.1.0 + "@docusaurus/core": 2.2.0 + "@docusaurus/logger": 2.2.0 + "@docusaurus/mdx-loader": 2.2.0 + "@docusaurus/module-type-aliases": 2.2.0 + "@docusaurus/types": 2.2.0 + "@docusaurus/utils": 2.2.0 + "@docusaurus/utils-validation": 2.2.0 "@types/react-router-config": ^5.0.6 combine-promises: ^1.1.0 fs-extra: ^10.1.0 @@ -1866,116 +1866,116 @@ __metadata: peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: 40dd6e8f984d5c589b260bb1fd36e491cebf02fab0e972f87184ed7e5d8e8ab410256b54192e0cdc58543729dfdb62aed18bf106312115aeae37404b2e714e62 + checksum: 78af0ad5ab5800b57981845598ac46bc70564e375e7f54aad2d138f386095fab8914cbebd0bc1c87559213637b2d6f9e8fa26671080b28791120d805499e3f0d languageName: node linkType: hard -"@docusaurus/plugin-content-pages@npm:2.1.0": - version: 2.1.0 - resolution: "@docusaurus/plugin-content-pages@npm:2.1.0" +"@docusaurus/plugin-content-pages@npm:2.2.0": + version: 2.2.0 + resolution: "@docusaurus/plugin-content-pages@npm:2.2.0" dependencies: - "@docusaurus/core": 2.1.0 - "@docusaurus/mdx-loader": 2.1.0 - "@docusaurus/types": 2.1.0 - "@docusaurus/utils": 2.1.0 - "@docusaurus/utils-validation": 2.1.0 + "@docusaurus/core": 2.2.0 + "@docusaurus/mdx-loader": 2.2.0 + "@docusaurus/types": 2.2.0 + "@docusaurus/utils": 2.2.0 + "@docusaurus/utils-validation": 2.2.0 fs-extra: ^10.1.0 tslib: ^2.4.0 webpack: ^5.73.0 peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: ddfcf0712edd0e0220996b43a5b35f25445fe287720b5cb67988529e472d3b9c81b67dec0c0efbfa42aba8f31ffe0987db2573c97cc0d55436ef63fe9e311eb0 + checksum: 3e63f7e9b632f4b91f8c32a17c60a036f707a2c8ca1eff738357becb0df7b06c659e3bd7642d142d393aa07be758decb34e5d6833e9f39247fe86eabee39e343 languageName: node linkType: hard -"@docusaurus/plugin-debug@npm:2.1.0": - version: 2.1.0 - resolution: "@docusaurus/plugin-debug@npm:2.1.0" +"@docusaurus/plugin-debug@npm:2.2.0": + version: 2.2.0 + resolution: "@docusaurus/plugin-debug@npm:2.2.0" dependencies: - "@docusaurus/core": 2.1.0 - "@docusaurus/types": 2.1.0 - "@docusaurus/utils": 2.1.0 + "@docusaurus/core": 2.2.0 + "@docusaurus/types": 2.2.0 + "@docusaurus/utils": 2.2.0 fs-extra: ^10.1.0 react-json-view: ^1.21.3 tslib: ^2.4.0 peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: fc6d577184a08c2798788c5216c543ba1942a09f833365bd0e0caff6765ff74c54430605390a8ca11c4ca35beff64553cfa26308b18ddc3d6f4a91e0714ade5a + checksum: 48d52733a1c0651d62291aff739e1137ed807ef75df30aaad28fddf7360fa5e2b426c26059530b18e408610c7e268b42a68e3be415db3499b7b02a891afb0f94 languageName: node linkType: hard -"@docusaurus/plugin-google-analytics@npm:2.1.0": - version: 2.1.0 - resolution: "@docusaurus/plugin-google-analytics@npm:2.1.0" +"@docusaurus/plugin-google-analytics@npm:2.2.0": + version: 2.2.0 + resolution: "@docusaurus/plugin-google-analytics@npm:2.2.0" dependencies: - "@docusaurus/core": 2.1.0 - "@docusaurus/types": 2.1.0 - "@docusaurus/utils-validation": 2.1.0 + "@docusaurus/core": 2.2.0 + "@docusaurus/types": 2.2.0 + "@docusaurus/utils-validation": 2.2.0 tslib: ^2.4.0 peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: 5c9769046677dd423123c7855d16434585002bc8d30a735becbc19e199c18b810476a5c072f06e574663c3e957d48beeebe2293d702722ea41a418ada830514c + checksum: 5b46d68739d2ae97925fa53bd260712b756ffb802089d5e8df47eb40742d3779c856c303831f9c3a014b6af2ed0f4609c94874cb6e6c88583b35fa1949d54a96 languageName: node linkType: hard -"@docusaurus/plugin-google-gtag@npm:2.1.0": - version: 2.1.0 - resolution: "@docusaurus/plugin-google-gtag@npm:2.1.0" +"@docusaurus/plugin-google-gtag@npm:2.2.0": + version: 2.2.0 + resolution: "@docusaurus/plugin-google-gtag@npm:2.2.0" dependencies: - "@docusaurus/core": 2.1.0 - "@docusaurus/types": 2.1.0 - "@docusaurus/utils-validation": 2.1.0 + "@docusaurus/core": 2.2.0 + "@docusaurus/types": 2.2.0 + "@docusaurus/utils-validation": 2.2.0 tslib: ^2.4.0 peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: e29296caab9a36439d4bae20d170191c06b989b9be5d77e05632ae7f5e296cdd3c7d04a39892b97467b9257ac7eac44402b09d5369ce4c35e82ed77a51763a4f + checksum: 3e68fe6806c6aa19498514ba137dcc99221247bec25bf31d19e09ff26091f6a027af5e9b84fa8b6554888865d8669412708c6d50f6c1aa51515b8dccc0576edd languageName: node linkType: hard -"@docusaurus/plugin-sitemap@npm:2.1.0": - version: 2.1.0 - resolution: "@docusaurus/plugin-sitemap@npm:2.1.0" +"@docusaurus/plugin-sitemap@npm:2.2.0": + version: 2.2.0 + resolution: "@docusaurus/plugin-sitemap@npm:2.2.0" dependencies: - "@docusaurus/core": 2.1.0 - "@docusaurus/logger": 2.1.0 - "@docusaurus/types": 2.1.0 - "@docusaurus/utils": 2.1.0 - "@docusaurus/utils-common": 2.1.0 - "@docusaurus/utils-validation": 2.1.0 + "@docusaurus/core": 2.2.0 + "@docusaurus/logger": 2.2.0 + "@docusaurus/types": 2.2.0 + "@docusaurus/utils": 2.2.0 + "@docusaurus/utils-common": 2.2.0 + "@docusaurus/utils-validation": 2.2.0 fs-extra: ^10.1.0 sitemap: ^7.1.1 tslib: ^2.4.0 peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: c255f0985b78afbba746675a5252c2f0bfc49472a706d1f778a0794d7ad1f3871c975e61af8516e8d6cd25d8c3cee6d075863077e7c7e4f1d89b997b8e488961 + checksum: b7fb683242205dcab31b5c36273cf80337425ef028fd17cdfb015d668d43a3b7b95f81f67c0655e573cb01c280a25c948be661da59b2ea409819395b19ffd2e4 languageName: node linkType: hard -"@docusaurus/preset-classic@latest": - version: 2.1.0 - resolution: "@docusaurus/preset-classic@npm:2.1.0" +"@docusaurus/preset-classic@npm:latest": + version: 2.2.0 + resolution: "@docusaurus/preset-classic@npm:2.2.0" dependencies: - "@docusaurus/core": 2.1.0 - "@docusaurus/plugin-content-blog": 2.1.0 - "@docusaurus/plugin-content-docs": 2.1.0 - "@docusaurus/plugin-content-pages": 2.1.0 - "@docusaurus/plugin-debug": 2.1.0 - "@docusaurus/plugin-google-analytics": 2.1.0 - "@docusaurus/plugin-google-gtag": 2.1.0 - "@docusaurus/plugin-sitemap": 2.1.0 - "@docusaurus/theme-classic": 2.1.0 - "@docusaurus/theme-common": 2.1.0 - "@docusaurus/theme-search-algolia": 2.1.0 - "@docusaurus/types": 2.1.0 + "@docusaurus/core": 2.2.0 + "@docusaurus/plugin-content-blog": 2.2.0 + "@docusaurus/plugin-content-docs": 2.2.0 + "@docusaurus/plugin-content-pages": 2.2.0 + "@docusaurus/plugin-debug": 2.2.0 + "@docusaurus/plugin-google-analytics": 2.2.0 + "@docusaurus/plugin-google-gtag": 2.2.0 + "@docusaurus/plugin-sitemap": 2.2.0 + "@docusaurus/theme-classic": 2.2.0 + "@docusaurus/theme-common": 2.2.0 + "@docusaurus/theme-search-algolia": 2.2.0 + "@docusaurus/types": 2.2.0 peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: 3f0a80a158f05adb1078f848e8fe1f559a5f117e4f5728f9346bc9d6592cdf07feaebcf44b84c80e90b79aefef81f9fef7e662dd6365d1a33706ffff97c8c314 + checksum: 4342d820ec17ace3e3138ff050ce9925f779d73d87723d1882b0106ac1d60aaa7bf1f1d2b4da571808f17454de8033b1b33f2a107e073e51ff0299e694dee151 languageName: node linkType: hard @@ -1991,33 +1991,33 @@ __metadata: languageName: node linkType: hard -"@docusaurus/remark-plugin-npm2yarn@latest": - version: 2.1.0 - resolution: "@docusaurus/remark-plugin-npm2yarn@npm:2.1.0" +"@docusaurus/remark-plugin-npm2yarn@npm:latest": + version: 2.2.0 + resolution: "@docusaurus/remark-plugin-npm2yarn@npm:2.2.0" dependencies: npm-to-yarn: ^1.0.1 tslib: ^2.4.0 unist-util-visit: ^2.0.3 - checksum: b1234bb8809cbcaa407ae673c6352e9308d16f44726d5d70f877f927c5b10d6664f3c07b32773eee04ae74a5110e362725cf2205a68dac7268c0567864abbcf5 + checksum: f01f7d221028e6503577ce2340f46a0e77352be0922d050ae1cee764dd5492e914261c829ca276ed1a0e7449ecb86293d9a81335a7a1da1bf37c9bc3b0b46478 languageName: node linkType: hard -"@docusaurus/theme-classic@npm:2.1.0": - version: 2.1.0 - resolution: "@docusaurus/theme-classic@npm:2.1.0" +"@docusaurus/theme-classic@npm:2.2.0": + version: 2.2.0 + resolution: "@docusaurus/theme-classic@npm:2.2.0" dependencies: - "@docusaurus/core": 2.1.0 - "@docusaurus/mdx-loader": 2.1.0 - "@docusaurus/module-type-aliases": 2.1.0 - "@docusaurus/plugin-content-blog": 2.1.0 - "@docusaurus/plugin-content-docs": 2.1.0 - "@docusaurus/plugin-content-pages": 2.1.0 - "@docusaurus/theme-common": 2.1.0 - "@docusaurus/theme-translations": 2.1.0 - "@docusaurus/types": 2.1.0 - "@docusaurus/utils": 2.1.0 - "@docusaurus/utils-common": 2.1.0 - "@docusaurus/utils-validation": 2.1.0 + "@docusaurus/core": 2.2.0 + "@docusaurus/mdx-loader": 2.2.0 + "@docusaurus/module-type-aliases": 2.2.0 + "@docusaurus/plugin-content-blog": 2.2.0 + "@docusaurus/plugin-content-docs": 2.2.0 + "@docusaurus/plugin-content-pages": 2.2.0 + "@docusaurus/theme-common": 2.2.0 + "@docusaurus/theme-translations": 2.2.0 + "@docusaurus/types": 2.2.0 + "@docusaurus/utils": 2.2.0 + "@docusaurus/utils-common": 2.2.0 + "@docusaurus/utils-validation": 2.2.0 "@mdx-js/react": ^1.6.22 clsx: ^1.2.1 copy-text-to-clipboard: ^3.0.1 @@ -2034,20 +2034,20 @@ __metadata: peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: 6062dc0c1047656f5b25fa3c8c4790a1ebc0e12765d3ba4a14c58c7f8b3475e7c5cb292e771e9195d012a41e91582415c89e1ab7c954bdc6b2479c423e924964 + checksum: 75a25836d50aadaa48f4410f1cac0ce5cd4c8f0c2d1519311e8b0b727625247672e7ad8e6f4fe411fdb70744d39ca9370278a4b5e32890f713802971cda47d73 languageName: node linkType: hard -"@docusaurus/theme-common@npm:2.1.0": - version: 2.1.0 - resolution: "@docusaurus/theme-common@npm:2.1.0" +"@docusaurus/theme-common@npm:2.2.0": + version: 2.2.0 + resolution: "@docusaurus/theme-common@npm:2.2.0" dependencies: - "@docusaurus/mdx-loader": 2.1.0 - "@docusaurus/module-type-aliases": 2.1.0 - "@docusaurus/plugin-content-blog": 2.1.0 - "@docusaurus/plugin-content-docs": 2.1.0 - "@docusaurus/plugin-content-pages": 2.1.0 - "@docusaurus/utils": 2.1.0 + "@docusaurus/mdx-loader": 2.2.0 + "@docusaurus/module-type-aliases": 2.2.0 + "@docusaurus/plugin-content-blog": 2.2.0 + "@docusaurus/plugin-content-docs": 2.2.0 + "@docusaurus/plugin-content-pages": 2.2.0 + "@docusaurus/utils": 2.2.0 "@types/history": ^4.7.11 "@types/react": "*" "@types/react-router-config": "*" @@ -2059,22 +2059,22 @@ __metadata: peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: 56e9927e38d20f2ac5c4d4db5ccb39310784a9f677e02218f389c5877a1bdb0a66f76466d2f8741128fb683710f811b9f4035c5e05f6e9e153c22f4c2674ac15 + checksum: d900211e84a967476d34d8e1250c21d621ccf1028a33a133367d1b43e4e896e806360d69bcc316bb7603682bdc71f03e579934980f23f5ba97fcf29e0cd69fbd languageName: node linkType: hard -"@docusaurus/theme-search-algolia@npm:2.1.0": - version: 2.1.0 - resolution: "@docusaurus/theme-search-algolia@npm:2.1.0" +"@docusaurus/theme-search-algolia@npm:2.2.0": + version: 2.2.0 + resolution: "@docusaurus/theme-search-algolia@npm:2.2.0" dependencies: "@docsearch/react": ^3.1.1 - "@docusaurus/core": 2.1.0 - "@docusaurus/logger": 2.1.0 - "@docusaurus/plugin-content-docs": 2.1.0 - "@docusaurus/theme-common": 2.1.0 - "@docusaurus/theme-translations": 2.1.0 - "@docusaurus/utils": 2.1.0 - "@docusaurus/utils-validation": 2.1.0 + "@docusaurus/core": 2.2.0 + "@docusaurus/logger": 2.2.0 + "@docusaurus/plugin-content-docs": 2.2.0 + "@docusaurus/theme-common": 2.2.0 + "@docusaurus/theme-translations": 2.2.0 + "@docusaurus/utils": 2.2.0 + "@docusaurus/utils-validation": 2.2.0 algoliasearch: ^4.13.1 algoliasearch-helper: ^3.10.0 clsx: ^1.2.1 @@ -2086,23 +2086,23 @@ __metadata: peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: 58f37a3310b4e8b63717eb4f350a0d096ef9bfc91887a21bdfc9680d75b1d381b333a75f56e01612ef45b96e8e68ee0994babe4216f65aa29326df2bcf9d07e1 + checksum: 027189d85228c313725548c20bed154d0bed16a2a16814910036583b026fbf611c138743f2a9984e49df6867ebf2011f7e9e1b22344979331e165742b0033dd5 languageName: node linkType: hard -"@docusaurus/theme-translations@npm:2.1.0": - version: 2.1.0 - resolution: "@docusaurus/theme-translations@npm:2.1.0" +"@docusaurus/theme-translations@npm:2.2.0": + version: 2.2.0 + resolution: "@docusaurus/theme-translations@npm:2.2.0" dependencies: fs-extra: ^10.1.0 tslib: ^2.4.0 - checksum: 1aa09e11e2e1f30c353f720de71e5807563edf386805a85cd7faaedca9cf6083160db807c5ccf77927065f1152bef904fd00a87c891a7cfbffedd314a4311529 + checksum: 58719927df60b9ec3c522f6def19195c2ef857316fc19dbeac443e1d9002501cd29d7ab960a44e7425cca20c9bb66f6f80bcbc02cf4c847a5c24b85e43c5a50b languageName: node linkType: hard -"@docusaurus/types@npm:2.1.0": - version: 2.1.0 - resolution: "@docusaurus/types@npm:2.1.0" +"@docusaurus/types@npm:2.2.0": + version: 2.2.0 + resolution: "@docusaurus/types@npm:2.2.0" dependencies: "@types/history": ^4.7.11 "@types/react": "*" @@ -2115,13 +2115,13 @@ __metadata: peerDependencies: react: ^16.8.4 || ^17.0.0 react-dom: ^16.8.4 || ^17.0.0 - checksum: ded514982e499111377db6ada32936644b29b51f34d8a3f762461603c2db17bc260629cdeab09f30fd493f035039f1b035fe8b9c86e717279e418c4b97724b1a + checksum: 96ba6b72f724012a8ed099c0cbf3ff348dd1316850a66c849f0c729044d1c21773345ad659a748473ce47a7b9a20a4f49c6ec86780c49cb19cd02bdb353c3225 languageName: node linkType: hard -"@docusaurus/utils-common@npm:2.1.0": - version: 2.1.0 - resolution: "@docusaurus/utils-common@npm:2.1.0" +"@docusaurus/utils-common@npm:2.2.0": + version: 2.2.0 + resolution: "@docusaurus/utils-common@npm:2.2.0" dependencies: tslib: ^2.4.0 peerDependencies: @@ -2129,28 +2129,28 @@ __metadata: peerDependenciesMeta: "@docusaurus/types": optional: true - checksum: 11991a3327f3278798469c55c1374a2311bf0040ead0e8c2fb320861fce246db8fa6b6dd49a5b9278b87d53dc12e93504e8ba8b2719bb1332385a39d882cc9c2 + checksum: e546e77348da6b41bb468f9f1fe0067d0833fdd33a0c9f6a271e39deaf6a21fb7990b342c1e78c44bcd4ef73bce4edf4a1567628b0916638cdd8d52c95f81748 languageName: node linkType: hard -"@docusaurus/utils-validation@npm:2.1.0": - version: 2.1.0 - resolution: "@docusaurus/utils-validation@npm:2.1.0" +"@docusaurus/utils-validation@npm:2.2.0": + version: 2.2.0 + resolution: "@docusaurus/utils-validation@npm:2.2.0" dependencies: - "@docusaurus/logger": 2.1.0 - "@docusaurus/utils": 2.1.0 + "@docusaurus/logger": 2.2.0 + "@docusaurus/utils": 2.2.0 joi: ^17.6.0 js-yaml: ^4.1.0 tslib: ^2.4.0 - checksum: 52664daff9543518b3c704990d82cf499864698e1c4b585d3b533f9f9eb55297ddf055832e15c3804ba844cb49ee3f0ad03a2b2c684acef8ed82a53a54679146 + checksum: 9532121133118dc5473c464456bcb96da295c2c83162f9493fd30bb7623b85a81a2fefbdaea50b4babfa12e7c73f61557b3e1b644025cec1ba793d1fa63db092 languageName: node linkType: hard -"@docusaurus/utils@npm:2.1.0": - version: 2.1.0 - resolution: "@docusaurus/utils@npm:2.1.0" +"@docusaurus/utils@npm:2.2.0": + version: 2.2.0 + resolution: "@docusaurus/utils@npm:2.2.0" dependencies: - "@docusaurus/logger": 2.1.0 + "@docusaurus/logger": 2.2.0 "@svgr/webpack": ^6.2.1 file-loader: ^6.2.0 fs-extra: ^10.1.0 @@ -2170,7 +2170,7 @@ __metadata: peerDependenciesMeta: "@docusaurus/types": optional: true - checksum: 0eb3faae15a7508acdfc37f59799ba4de0594d7d2f576b4cc7d06041981c29c6f360e4f6583327024182652dc01b5db0016fb1eb7d7be6a9109d99a2bc4ab982 + checksum: ddcc56cba1b592396b826f82c489d9427a9462d0d30b488f7abe622fa4d6678c84ffc80ecbf4df19eba014cae77e00a93993b9dbd4a7c3e506419e9b76e2d6e2 languageName: node linkType: hard