From b5e5ba605eed3cae4d86b0b7569fa4c16fb434e5 Mon Sep 17 00:00:00 2001 From: Tom Jonkman Date: Thu, 9 Jan 2025 14:14:03 +0100 Subject: [PATCH] Fix open in new tab links in docusaurus (#1000) Co-authored-by: sushitommy <> --- components/accordion/accordion.docusaurus.mdx | 2 +- .../action-group/action-group.docusaurus.mdx | 2 +- components/alert/alert.docusaurus.mdx | 2 +- .../breadcrumbs/breadcrumbs.docusaurus.mdx | 2 +- components/button/button.docusaurus.mdx | 26 +++++++++---- components/card/card.docusaurus.mdx | 5 +-- components/data-list/data-list.docusaurus.mdx | 6 +-- components/dialog/dialog.docusaurus.mdx | 4 +- .../expandable-content.docusaurus.mdx | 2 +- components/favicon/favicon.docusaurus.mdx | 7 +++- components/footer/footer.docusaurus.mdx | 2 +- .../form-feedback/feedback.docusaurus.mdx | 4 +- .../form-field-checkbox.docusaurus.mdx | 4 +- .../form-field-dateinput.docusaurus.mdx | 4 +- .../form-field-fileinput.docusaurus.mdx | 2 +- .../form-field-label/label.docusaurus.mdx | 2 +- .../form-field-radio-button.docusaurus.mdx | 2 +- .../form-field-select.docusaurus.mdx | 6 +-- .../form-field-textarea.docusaurus.mdx | 4 +- .../form-field-textinput.docusaurus.mdx | 4 +- .../form-field-timeinput.docusaurus.mdx | 4 +- .../form-fieldset.docusaurus.mdx | 8 ++-- components/grid/grid.docusaurus.mdx | 11 ++++-- components/header/header.docusaurus.mdx | 2 +- components/heading/heading.docusaurus.mdx | 14 ++----- components/hero/hero.docusaurus.mdx | 5 +-- .../horizontal-rule.docusaurus.mdx | 2 +- components/icon/icon.docusaurus.mdx | 2 +- components/item-list/item-list.docusaurus.mdx | 2 +- .../layout-flow/layout-flow.docusaurus.mdx | 17 +++++++-- components/link/link.docusaurus.mdx | 2 +- components/logo/logo.docusaurus.mdx | 2 +- .../max-width-layout.docusaurus.mdx | 6 +-- .../menubar-mobile.docusaurus.mdx | 2 +- components/menubar/menubar.docusaurus.mdx | 2 +- .../ordered-unordered-list.docusaurus.mdx | 4 +- .../pagination/pagination.docusaurus.mdx | 2 +- components/paragraph/paragraph.docusaurus.mdx | 4 +- .../progress-tracker.docusaurus.mdx | 4 +- .../scrollable-content.docusaurus.mdx | 7 +--- components/skip-link/skip-link.docusaurus.mdx | 11 ++++-- .../status-icon/status-icon.docusaurus.mdx | 2 +- .../status-indicator.docusaurus.mdx | 2 +- components/table/table.docusaurus.mdx | 2 +- components/tabs/tabs.docusaurus.mdx | 2 +- components/tag/tag.docusaurus.mdx | 2 +- components/toggle/toggle.docusaurus.mdx | 2 +- .../src/components/ComponentExample/index.tsx | 38 +++++++++++-------- 48 files changed, 143 insertions(+), 112 deletions(-) diff --git a/components/accordion/accordion.docusaurus.mdx b/components/accordion/accordion.docusaurus.mdx index 103b4bf4ec..ad0d96806d 100644 --- a/components/accordion/accordion.docusaurus.mdx +++ b/components/accordion/accordion.docusaurus.mdx @@ -10,7 +10,7 @@ import Documentation from "./README.md"; import Accordion from "./src/template"; import ComponentExample from "../../packages/docusaurus/src/components/ComponentExample"; - + diff --git a/components/action-group/action-group.docusaurus.mdx b/components/action-group/action-group.docusaurus.mdx index 776f8d31e4..acfb81faf6 100644 --- a/components/action-group/action-group.docusaurus.mdx +++ b/components/action-group/action-group.docusaurus.mdx @@ -9,7 +9,7 @@ import Documentation from "./README.md"; import ActionGroup from "./src/template"; import ComponentExample from "../../packages/docusaurus/src/components/ComponentExample"; - + diff --git a/components/alert/alert.docusaurus.mdx b/components/alert/alert.docusaurus.mdx index f3bd3d7494..c380a3bf34 100644 --- a/components/alert/alert.docusaurus.mdx +++ b/components/alert/alert.docusaurus.mdx @@ -9,7 +9,7 @@ import Documentation from "./README.md"; import Alert from "./src/template"; import ComponentExample from "../../packages/docusaurus/src/components/ComponentExample"; - + diff --git a/components/breadcrumbs/breadcrumbs.docusaurus.mdx b/components/breadcrumbs/breadcrumbs.docusaurus.mdx index faccecd053..74322030ed 100644 --- a/components/breadcrumbs/breadcrumbs.docusaurus.mdx +++ b/components/breadcrumbs/breadcrumbs.docusaurus.mdx @@ -9,7 +9,7 @@ import Documentation from "./README.md"; import BreadCrumbs from "./src/template"; import ComponentExample from "../../packages/docusaurus/src/components/ComponentExample"; - + diff --git a/components/button/button.docusaurus.mdx b/components/button/button.docusaurus.mdx index 796d9ecc6f..971b9f3bd9 100644 --- a/components/button/button.docusaurus.mdx +++ b/components/button/button.docusaurus.mdx @@ -14,26 +14,38 @@ import Heading from "../heading/src/template"; Primary button: - +