From eaab5494338e98eda860adb73b63d1fc40b4cbc5 Mon Sep 17 00:00:00 2001 From: Eric Clemmons Date: Tue, 16 Nov 2021 16:04:38 -0600 Subject: [PATCH 1/2] Remove unused Banner component --- docs/src/components/Banner.tsx | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 docs/src/components/Banner.tsx diff --git a/docs/src/components/Banner.tsx b/docs/src/components/Banner.tsx deleted file mode 100644 index 08c1dece569..00000000000 --- a/docs/src/components/Banner.tsx +++ /dev/null @@ -1,32 +0,0 @@ -import { Alert, Link } from '@aws-amplify/ui-react'; -import { useRouter } from 'next/router'; -import * as react from 'react'; - -export const Banner = () => { - const router = useRouter(); - const { platform = 'react' } = router.query; - - return ( - - Developer Preview -
- - - - - } - variation="warning" - > - You're viewing documentation for the @next release of Amplify - UI. -
- For the @latest stable release, visit{' '} - - https://docs.amplify.aws/ui - - . -
- ); -}; From 78b1433cc6c98d3e25b238b77094399f06263117 Mon Sep 17 00:00:00 2001 From: Eric Clemmons Date: Tue, 16 Nov 2021 16:04:50 -0600 Subject: [PATCH 2/2] Remove references to @next release --- README.md | 4 ---- docs/src/components/Layout/index.tsx | 14 -------------- .../installation/dependencies.angular.mdx | 6 +++--- .../installation/dependencies.react.mdx | 6 +++--- .../installation/dependencies.vue.mdx | 6 +++--- 5 files changed, 9 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 1e59bb1514d..b8c3eed1e60 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,6 @@ # Amplify UI -> 🚧 This is the `next` version of Amplify UI 🚧 -> -> For the the `latest` Amplify UI documentation, [click here](https://docs.amplify.aws/ui) - [![GitHub](https://img.shields.io/github/license/aws-amplify/amplify-ui)](LICENSE) [![Discord](https://img.shields.io/discord/308323056592486420?logo=discord)](https://discord.gg/jWVbPfC) [![Tests](https://github.com/aws-amplify/amplify-ui/actions/workflows/tests.yml/badge.svg)](https://github.com/aws-amplify/amplify-ui/actions/workflows/tests.yml) diff --git a/docs/src/components/Layout/index.tsx b/docs/src/components/Layout/index.tsx index 56487f85fad..b5f5dc882bf 100644 --- a/docs/src/components/Layout/index.tsx +++ b/docs/src/components/Layout/index.tsx @@ -63,20 +63,6 @@ export default function Page({ {hideToc ? null : ( )} - - - You're viewing documentation for the next release of Amplify UI. For the - latest stable release, visit:  - https://docs.amplify.aws/ui. - ); } diff --git a/docs/src/pages/getting-started/installation/dependencies.angular.mdx b/docs/src/pages/getting-started/installation/dependencies.angular.mdx index 59a79e9c6ac..24709bf0d4b 100644 --- a/docs/src/pages/getting-started/installation/dependencies.angular.mdx +++ b/docs/src/pages/getting-started/installation/dependencies.angular.mdx @@ -1,19 +1,19 @@ import { Tabs, TabItem } from '@aws-amplify/ui-react'; -Install `@aws-amplify/ui-angular@next` with [npm](https://www.npmjs.com/) or [yarn](https://yarnpkg.com/): +Install `@aws-amplify/ui-angular` with [npm](https://www.npmjs.com/) or [yarn](https://yarnpkg.com/): ```shell -npm install aws-amplify @aws-amplify/ui-angular@next +npm install aws-amplify @aws-amplify/ui-angular ``` ```shell -yarn add @aws-amplify/ui-angular@next +yarn add @aws-amplify/ui-angular ``` diff --git a/docs/src/pages/getting-started/installation/dependencies.react.mdx b/docs/src/pages/getting-started/installation/dependencies.react.mdx index 33bc1c81a77..db00013e1d9 100644 --- a/docs/src/pages/getting-started/installation/dependencies.react.mdx +++ b/docs/src/pages/getting-started/installation/dependencies.react.mdx @@ -1,19 +1,19 @@ import { Tabs, TabItem } from '@aws-amplify/ui-react'; -Install `@aws-amplify/ui-react@next` with [npm](https://www.npmjs.com/) or [yarn](https://yarnpkg.com/): +Install `@aws-amplify/ui-react` with [npm](https://www.npmjs.com/) or [yarn](https://yarnpkg.com/): ```shell -npm install aws-amplify @aws-amplify/ui-react@next +npm install aws-amplify @aws-amplify/ui-react ``` ```shell -yarn add aws-amplify @aws-amplify/ui-react@next +yarn add aws-amplify @aws-amplify/ui-react ``` diff --git a/docs/src/pages/getting-started/installation/dependencies.vue.mdx b/docs/src/pages/getting-started/installation/dependencies.vue.mdx index 69dc9d1904b..1491f846602 100644 --- a/docs/src/pages/getting-started/installation/dependencies.vue.mdx +++ b/docs/src/pages/getting-started/installation/dependencies.vue.mdx @@ -1,19 +1,19 @@ import { Tabs, TabItem } from '@aws-amplify/ui-react'; -For Vue 3 install `@aws-amplify/ui-vue@next` with [npm](https://www.npmjs.com/) or [yarn](https://yarnpkg.com/): +For Vue 3 install `@aws-amplify/ui-vue` with [npm](https://www.npmjs.com/) or [yarn](https://yarnpkg.com/): ```shell -npm install aws-amplify @aws-amplify/ui-vue@next +npm install aws-amplify @aws-amplify/ui-vue ``` ```shell -yarn add @aws-amplify/ui-vue@next +yarn add @aws-amplify/ui-vue ```