From d316cf51c8a6980e14d44cde0e6c935950bb0645 Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Wed, 20 May 2020 08:41:21 +0200 Subject: [PATCH] update storyshots to reflect changes --- .../src/__snapshots__/storyshots.test.ts.snap | 140 +++++++++++++----- 1 file changed, 104 insertions(+), 36 deletions(-) diff --git a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap index 6bcb322fee..0a056f61cb 100644 --- a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap +++ b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap @@ -33060,6 +33060,7 @@ exports[`Storyshots Layout|Footer Default 1`] = `
  • SCM-Manager 2.0.0 @@ -33085,6 +33086,7 @@ exports[`Storyshots Layout|Footer Default 1`] = `
  • footer.support.community @@ -33093,6 +33095,7 @@ exports[`Storyshots Layout|Footer Default 1`] = `
  • footer.support.enterprise @@ -33182,6 +33185,7 @@ exports[`Storyshots Layout|Footer Full 1`] = `
  • SCM-Manager 2.0.0 @@ -33190,6 +33194,7 @@ exports[`Storyshots Layout|Footer Full 1`] = `
  • REST API @@ -33198,6 +33203,7 @@ exports[`Storyshots Layout|Footer Full 1`] = `
  • CLI @@ -33223,6 +33229,7 @@ exports[`Storyshots Layout|Footer Full 1`] = `
  • footer.support.community @@ -33231,6 +33238,7 @@ exports[`Storyshots Layout|Footer Full 1`] = `
  • footer.support.enterprise @@ -33239,6 +33247,7 @@ exports[`Storyshots Layout|Footer Full 1`] = `
  • FAQ @@ -33319,6 +33328,7 @@ exports[`Storyshots Layout|Footer With Avatar 1`] = `
  • SCM-Manager 2.0.0 @@ -33344,6 +33354,7 @@ exports[`Storyshots Layout|Footer With Avatar 1`] = `
  • footer.support.community @@ -33352,6 +33363,7 @@ exports[`Storyshots Layout|Footer With Avatar 1`] = `
  • footer.support.enterprise @@ -33436,6 +33448,7 @@ exports[`Storyshots Layout|Footer With Plugin Links 1`] = `
  • SCM-Manager 2.0.0 @@ -33444,6 +33457,7 @@ exports[`Storyshots Layout|Footer With Plugin Links 1`] = `
  • REST API @@ -33452,6 +33466,7 @@ exports[`Storyshots Layout|Footer With Plugin Links 1`] = `
  • CLI @@ -33477,6 +33492,7 @@ exports[`Storyshots Layout|Footer With Plugin Links 1`] = `
  • footer.support.community @@ -33485,6 +33501,7 @@ exports[`Storyshots Layout|Footer With Plugin Links 1`] = `
  • footer.support.enterprise @@ -33493,6 +33510,7 @@ exports[`Storyshots Layout|Footer With Plugin Links 1`] = `
  • FAQ @@ -33581,64 +33599,56 @@ exports[`Storyshots MarkdownView Default 1`] = `

    [Top] @@ -33854,8 +33860,7 @@ Deserunt officia esse aliquip consectetur duis ut labore laborum commodo aliquip

    [Top] @@ -34162,8 +34167,7 @@ Deserunt officia esse aliquip consectetur duis ut labore laborum commodo aliquip

    [Top] @@ -34228,8 +34232,7 @@ func main() {

    [Top] @@ -34251,8 +34254,7 @@ func main() { reprehenderit duis irure @@ -34278,8 +34280,7 @@ func main() { anim aute reprehenderit id eu ea. Aute excepteur proident @@ -34322,8 +34323,7 @@ func main() {

    Reprehenderit non eu quis in ad elit esse qui aute id incididunt @@ -34390,6 +34390,74 @@ exports[`Storyshots MarkdownView Inline Xml 1`] = ` `; +exports[`Storyshots MarkdownView Links 1`] = ` +

    +
    +
    +

    + Links +

    +

    + Show case for different style of markdown links. +Please note that some of the links may not work in storybook, +the story is mostly for checking if the links are rendered correct. +

    +

    + External +

    +

    + External Links should be opened in a new tab: + + external link + +

    +

    + Anchor +

    +

    + Anchor Links should be rendered a simple a tag with an href: + + anchor link + +

    +

    + Protocol +

    +

    + Links with a protocol other than http should be rendered a simple a tag with an href e.g.: + + mail link + +

    +

    + Internal +

    +

    + Internal links should be rendered by react-router: + + internal link + +

    +
    +
    +
    +`; + exports[`Storyshots MarkdownView Xml Code Block 1`] = `