From eb2c7750846637c6eeb8ac16b170b7d3fe42f312 Mon Sep 17 00:00:00 2001 From: Alison Joseph Date: Wed, 29 May 2019 14:47:45 -0500 Subject: [PATCH] feat: add all components globally --- .../src/pages/components/AnchorLinks.mdx | 2 -- .../src/pages/components/ArticleCard.mdx | 2 -- .../example/src/pages/components/Aside.mdx | 2 -- .../example/src/pages/components/Caption.mdx | 2 -- .../src/pages/components/DoDontExample.mdx | 8 ----- .../src/pages/components/FeatureCard.mdx | 2 -- .../example/src/pages/components/Grid.mdx | 9 ------ .../src/pages/components/ImageCard.mdx | 2 -- .../src/pages/components/ImageComponent.mdx | 4 +-- .../src/pages/components/PageDescription.mdx | 2 -- .../src/pages/components/ResourceCard.mdx | 7 ----- .../example/src/pages/components/demo.mdx | 19 +++--------- .../example/src/pages/components/markdown.mdx | 8 ----- .../src/pages/contributing/agreement.mdx | 7 ----- .../src/pages/contributing/governance.mdx | 7 ----- .../pages/getting-started/about-carbon.mdx | 15 +++------- .../src/pages/getting-started/designers.mdx | 15 +++------- .../getting-started/developers/angular.mdx | 7 ----- .../getting-started/developers/other.mdx | 7 ----- .../getting-started/developers/react.mdx | 7 ----- .../getting-started/developers/vanilla.mdx | 7 ----- .../example/src/pages/resources/index.mdx | 15 +++------- .../src/pages/top-level-with-tabs/tab-one.mdx | 7 ----- .../src/pages/top-level-with-tabs/tab-two.mdx | 15 +++------- .../src/components/MDXProvider.js | 30 +++++++++++++++++++ 25 files changed, 52 insertions(+), 156 deletions(-) diff --git a/packages/example/src/pages/components/AnchorLinks.mdx b/packages/example/src/pages/components/AnchorLinks.mdx index 527aa8f85..8cd1d5221 100644 --- a/packages/example/src/pages/components/AnchorLinks.mdx +++ b/packages/example/src/pages/components/AnchorLinks.mdx @@ -2,8 +2,6 @@ title: AnchorLinks --- -import { PageDescription, AnchorLinks, AnchorLink } from 'gatsby-theme-carbon'; - The `` and `` components are used together to display a list of anchor links for navigation within the page. Use these to link to `

` or `

` anywhere within your page. As long as the anchor link text and header text matches the link will work. diff --git a/packages/example/src/pages/components/ArticleCard.mdx b/packages/example/src/pages/components/ArticleCard.mdx index c5a960cbc..f3a9bc1fb 100644 --- a/packages/example/src/pages/components/ArticleCard.mdx +++ b/packages/example/src/pages/components/ArticleCard.mdx @@ -2,8 +2,6 @@ title: ArticleCard --- -import { Row, Column, ArticleCard, PageDescription } from 'gatsby-theme-carbon'; - The `` component should generally be used inside of a `` and `` with a `noGutterMdLeft` prop on the `` to allow it to "hang" to the left. diff --git a/packages/example/src/pages/components/Aside.mdx b/packages/example/src/pages/components/Aside.mdx index 7c07c868b..1ee4b1619 100644 --- a/packages/example/src/pages/components/Aside.mdx +++ b/packages/example/src/pages/components/Aside.mdx @@ -2,8 +2,6 @@ title: Aside --- -import { Row, Column, Aside, PageDescription } from 'gatsby-theme-carbon'; - The `