From abf8e5782e822e4ab797564c1d22b82252c5fddd Mon Sep 17 00:00:00 2001
From: Raphael Ferrand
This set of guidelines leans heavily on material provided by Swedbank’s UX @@ -288,10 +287,11 @@ const GlossaryLinks = () => ( target="_blank" className="icon-link" > - - open_in_new - - UX writing at Swedbank + + UX writing at Swedbank ( target="_blank" className="icon-link" > - - open_in_new - - Swedbank Brand Manager – Tonality + + Swedbank Brand Manager – Tonality
diff --git a/src/App/Identity/identity/Grid/index.js b/src/App/Identity/identity/Grid/index.js index 4a5a9579b5..5b0b06276a 100644 --- a/src/App/Identity/identity/Grid/index.js +++ b/src/App/Identity/identity/Grid/index.js @@ -23,9 +23,10 @@ const Intro = () => ( className="icon-link m-0" > Bootstrap documentation - - open_in_new - + . If you are curious about how the grid is being used in design, head over to the{" "} @@ -36,9 +37,10 @@ const Intro = () => ( className="icon-link m-0" > Grid file in Figma - - open_in_new - + .
diff --git a/src/App/Identity/identity/Iconography/index.js b/src/App/Identity/identity/Iconography/index.js index ab9e55216c..4fc0cd27ff 100644 --- a/src/App/Identity/identity/Iconography/index.js +++ b/src/App/Identity/identity/Iconography/index.js @@ -21,9 +21,10 @@ const AtlasIcons = () => ( target="_blank" rel="noopener noreferrer" > - - open_in_new - + Atlas Icons Overview @@ -66,9 +67,10 @@ const MaterialIcons = () => ( target="_blank" rel="noopener noreferrer" > - - open_in_new - + Material Icons Overview diff --git a/src/App/Identity/identity/Identity/index.js b/src/App/Identity/identity/Identity/index.js index afa340b85d..b10dcc64ca 100644 --- a/src/App/Identity/identity/Identity/index.js +++ b/src/App/Identity/identity/Identity/index.js @@ -35,9 +35,10 @@ const OurBrand = () => ( rel="noopener noreferrer" className="icon-link" > - - open_in_new - + Swedbank Brand Manager – read more about our brand @@ -85,7 +86,7 @@ const MenuOverview = () => ( {card.title} {card.text} - arrow_forward + ))} diff --git a/src/App/Identity/identity/Imagery/index.js b/src/App/Identity/identity/Imagery/index.js index 40c9f8cf97..c9143c4e12 100644 --- a/src/App/Identity/identity/Imagery/index.js +++ b/src/App/Identity/identity/Imagery/index.js @@ -25,9 +25,10 @@ const ImageLibrary = () => ( rel="noopener noreferrer" className="icon-link d-block d-flex" > - - open_in_new - + Visit the Swedbank Pay Image Library )} diff --git a/src/App/Identity/identity/Logotype/index.js b/src/App/Identity/identity/Logotype/index.js index ce1ae61bc1..b305262dd2 100644 --- a/src/App/Identity/identity/Logotype/index.js +++ b/src/App/Identity/identity/Logotype/index.js @@ -220,16 +220,18 @@ const Favicon = () => ( {brand === "payex" ? ( - - file_download - + Download Favicons ) : ( - - download - + Download Swedbank Pay favicon assets )} @@ -415,9 +417,10 @@ const Overview = () => ( href={`${basename}release/logos/Swedbank_Pay_Logotype.zip`} className="icon-link mb-4" > - - download - + Download Swedbank Pay logotype assets diff --git a/src/App/Identity/identity/Spacing/index.js b/src/App/Identity/identity/Spacing/index.js index 775792d4ba..9e21ba486e 100644 --- a/src/App/Identity/identity/Spacing/index.js +++ b/src/App/Identity/identity/Spacing/index.js @@ -38,9 +38,10 @@ const EightPointSystem = () => ( className="icon-link m-0" > Introduction article - - open_in_new - + , which provides a brief explanation of the reasons why to use the 8-point spacing system. To dive even deeper into the nitty gritty, please refer to @@ -52,9 +53,10 @@ const EightPointSystem = () => ( className="icon-link m-0" > in-depth explanation - - open_in_new - + {" "} of the 8-point spacing system. @@ -183,9 +185,10 @@ const DiveDeeper = () => ( rel="noopener noreferrer" className="icon-link d-flex" > - - open_in_new - + {link.text} ))} @@ -374,16 +377,16 @@ const Examples = () => ( .mt-0 { margin-top: 0 !important; } - + .ml-1 { margin-left: (@spacer * 0.25) !important; } - + .px-2 { padding-left: (@spacer * 0.5) !important; padding-right: (@spacer * 0.5) !important; } - + .p-3 { padding: @spacer !important; } diff --git a/src/App/Identity/identity/Typography/index.js b/src/App/Identity/identity/Typography/index.js index 8cbf94d999..53134f7263 100644 --- a/src/App/Identity/identity/Typography/index.js +++ b/src/App/Identity/identity/Typography/index.js @@ -29,9 +29,10 @@ const Typefaces = () => ( - - download - + Download all Swedbank Pay typefaces diff --git a/src/App/Patterns/content/Patterns/index.js b/src/App/Patterns/content/Patterns/index.js index 7ca64fc6e7..e922d8a20c 100644 --- a/src/App/Patterns/content/Patterns/index.js +++ b/src/App/Patterns/content/Patterns/index.js @@ -14,20 +14,12 @@ const Overview = () => ( className="cards cards-primary cards-wide" >diff --git a/src/App/GetStarted/get-started/ForDevelopers/__snapshots__/index.test.js.snap b/src/App/GetStarted/get-started/ForDevelopers/__snapshots__/index.test.js.snap index d354f6b9b2..72f1315084 100644 --- a/src/App/GetStarted/get-started/ForDevelopers/__snapshots__/index.test.js.snap +++ b/src/App/GetStarted/get-started/ForDevelopers/__snapshots__/index.test.js.snap @@ -21,12 +21,6 @@ exports[`GetStarted: ForDevelopers Contributing renders 1`] = ` > our Git Repository - - open_in_new - or create a feature request here. @@ -47,10 +41,8 @@ exports[`GetStarted: ForDevelopers Contributing renders 1`] = ` - open_in_new - + className="at-arrow-up-from-square small align-self-baseline" + /> , it includes guidelines for how to contribute with new components and develop for the project.
diff --git a/src/App/GetStarted/get-started/Introduction/__snapshots__/index.test.js.snap b/src/App/GetStarted/get-started/Introduction/__snapshots__/index.test.js.snap index e1421a30d5..fd8b31e2ea 100644 --- a/src/App/GetStarted/get-started/Introduction/__snapshots__/index.test.js.snap +++ b/src/App/GetStarted/get-started/Introduction/__snapshots__/index.test.js.snap @@ -82,10 +82,8 @@ exports[`GetStarted: Introduction WhatIsDG renders 1`] = ` > - launch - + className="at-arrow-up-from-square small mr-2 align-self-baseline" + /> View the contribution process prototype diff --git a/src/App/Identity/identity/Accessibility/__snapshots__/index.test.js.snap b/src/App/Identity/identity/Accessibility/__snapshots__/index.test.js.snap index 3b504e2565..0129a17c1e 100644 --- a/src/App/Identity/identity/Accessibility/__snapshots__/index.test.js.snap +++ b/src/App/Identity/identity/Accessibility/__snapshots__/index.test.js.snap @@ -32,10 +32,8 @@ exports[`Core: Accessibility DiveDeeper renders 1`] = ` > - open_in_new - + className="at-arrow-up-from-square small align-self-baseline mr-2" + /> @@ -50,10 +48,8 @@ exports[`Core: Accessibility DiveDeeper renders 1`] = ` > - open_in_new - + className="at-arrow-up-from-square small align-self-baseline mr-2" + /> @@ -71,10 +67,8 @@ exports[`Core: Accessibility DiveDeeper renders 1`] = ` > - open_in_new - + className="at-arrow-up-from-square small align-self-baseline mr-2" + /> @@ -89,10 +83,8 @@ exports[`Core: Accessibility DiveDeeper renders 1`] = ` > - open_in_new - + className="at-arrow-up-from-square small align-self-baseline mr-2" + /> @@ -107,10 +99,8 @@ exports[`Core: Accessibility DiveDeeper renders 1`] = ` > - open_in_new - + className="at-arrow-up-from-square small align-self-baseline mr-2" + /> @@ -128,10 +118,8 @@ exports[`Core: Accessibility DiveDeeper renders 1`] = ` > - open_in_new - + className="at-arrow-up-from-square small align-self-baseline mr-2" + /> @@ -146,10 +134,8 @@ exports[`Core: Accessibility DiveDeeper renders 1`] = ` > - open_in_new - + className="at-arrow-up-from-square small align-self-baseline mr-2" + /> @@ -164,10 +150,8 @@ exports[`Core: Accessibility DiveDeeper renders 1`] = ` > - open_in_new - + className="at-arrow-up-from-square small align-self-baseline mr-2" + /> @@ -182,10 +166,8 @@ exports[`Core: Accessibility DiveDeeper renders 1`] = ` > - open_in_new - + className="at-arrow-up-from-square small align-self-baseline mr-2" + /> @@ -400,10 +382,8 @@ exports[`Core: Accessibility WcagStandard renders 1`] = ` > - open_in_new - + className="at-arrow-up-from-square small align-self-baseline mr-2" + /> @@ -418,10 +398,8 @@ exports[`Core: Accessibility WcagStandard renders 1`] = ` > - open_in_new - + className="at-arrow-up-from-square small align-self-baseline mr-2" + /> diff --git a/src/App/Identity/identity/Color/__snapshots__/index.test.js.snap b/src/App/Identity/identity/Color/__snapshots__/index.test.js.snap index 5535081aae..ae8ae12c69 100644 --- a/src/App/Identity/identity/Color/__snapshots__/index.test.js.snap +++ b/src/App/Identity/identity/Color/__snapshots__/index.test.js.snap @@ -21,10 +21,8 @@ exports[`Core: Color CommunicationColors renders 1`] = ` > - check_circle - + className="swepay-icon-check-circle-filled small mr-1" + /> Pass (≥ 4.5:1) @@ -34,10 +32,8 @@ exports[`Core: Color CommunicationColors renders 1`] = ` > - warning - + className="swepay-icon-warning-triangle-filled small mr-1" + /> OK for graphics or large text (≥ 3:1) @@ -47,10 +43,8 @@ exports[`Core: Color CommunicationColors renders 1`] = ` > - error - + className="swepay-icon-error-circle-filled small mr-1" + /> Fail diff --git a/src/App/Identity/identity/Copywriting/__snapshots__/index.test.js.snap b/src/App/Identity/identity/Copywriting/__snapshots__/index.test.js.snap index 2d0c2f041b..380563383a 100644 --- a/src/App/Identity/identity/Copywriting/__snapshots__/index.test.js.snap +++ b/src/App/Identity/identity/Copywriting/__snapshots__/index.test.js.snap @@ -275,13 +275,9 @@ exports[`Core: Accessibility WcagStandard renders 1`] = ` > - open_in_new - - + className="at-arrow-up-from-square small align-self-baseline mr-2" + /> + Swedbank Pay Definitions – Glossary and other resources @@ -299,13 +295,9 @@ exports[`Core: Accessibility WcagStandard renders 1`] = ` > - open_in_new - - + className="at-arrow-up-from-square small align-self-baseline mr-2" + /> + UX writing at Swedbank @@ -317,13 +309,9 @@ exports[`Core: Accessibility WcagStandard renders 1`] = ` > - open_in_new - - + className="at-arrow-up-from-square small align-self-baseline mr-2" + /> + Swedbank Brand Manager – Tonality diff --git a/src/App/Identity/identity/Grid/__snapshots__/index.test.js.snap b/src/App/Identity/identity/Grid/__snapshots__/index.test.js.snap index b518248b52..8b23344df2 100644 --- a/src/App/Identity/identity/Grid/__snapshots__/index.test.js.snap +++ b/src/App/Identity/identity/Grid/__snapshots__/index.test.js.snap @@ -466,10 +466,8 @@ exports[`Core: Grid Intro renders 1`] = ` - open_in_new - + className="at-arrow-up-from-square small align-self-baseline" + /> . If you are curious about how the grid is being used in design, head over to the @@ -486,10 +484,8 @@ exports[`Core: Grid Intro renders 1`] = ` - open_in_new - + className="at-arrow-up-from-square small align-self-baseline" + /> . diff --git a/src/App/Identity/identity/Iconography/__snapshots__/index.test.js.snap b/src/App/Identity/identity/Iconography/__snapshots__/index.test.js.snap index 32b3183826..b0aca0f4a9 100644 --- a/src/App/Identity/identity/Iconography/__snapshots__/index.test.js.snap +++ b/src/App/Identity/identity/Iconography/__snapshots__/index.test.js.snap @@ -35,10 +35,8 @@ exports[`Core: Iconography renders 1`] = ` > - open_in_new - + className="at-arrow-up-from-square small align-self-baseline" + /> @@ -1995,10 +1993,8 @@ exports[`Core: Iconography renders 1`] = ` > - open_in_new - + className="at-arrow-up-from-square small align-self-baseline" + /> diff --git a/src/App/Identity/identity/Logotype/__snapshots__/index.test.js.snap b/src/App/Identity/identity/Logotype/__snapshots__/index.test.js.snap index 2333b0f341..8af5ff0fbf 100644 --- a/src/App/Identity/identity/Logotype/__snapshots__/index.test.js.snap +++ b/src/App/Identity/identity/Logotype/__snapshots__/index.test.js.snap @@ -66,10 +66,8 @@ exports[`Core: Logotype Favicon renders 1`] = ` > - download - + className="at-download-arrow-down small align-self-baseline" + /> @@ -697,10 +695,8 @@ exports[`Core: Logotype Overview renders 1`] = ` > - download - + className="at-download-arrow-down small align-self-baseline" + /> diff --git a/src/App/Identity/identity/Spacing/__snapshots__/index.test.js.snap b/src/App/Identity/identity/Spacing/__snapshots__/index.test.js.snap index e512966814..c3fb862fdb 100644 --- a/src/App/Identity/identity/Spacing/__snapshots__/index.test.js.snap +++ b/src/App/Identity/identity/Spacing/__snapshots__/index.test.js.snap @@ -1199,10 +1199,8 @@ exports[`Identity: Spacing renders 1`] = ` - open_in_new - + className="at-arrow-up-from-square small align-self-baseline" + /> , which provides a brief explanation of the reasons why to use the 8-point spacing system. To dive even deeper into the nitty gritty, please refer to this @@ -1219,10 +1217,8 @@ exports[`Identity: Spacing renders 1`] = ` - open_in_new - + className="at-arrow-up-from-square small align-self-baseline" + /> of the 8-point spacing system. @@ -1403,10 +1399,8 @@ exports[`Identity: Spacing renders 1`] = ` > - open_in_new - + className="at-arrow-up-from-square small align-self-baseline mr-2" + /> @@ -1421,10 +1415,8 @@ exports[`Identity: Spacing renders 1`] = ` > - open_in_new - + className="at-arrow-up-from-square small align-self-baseline mr-2" + /> @@ -1439,10 +1431,8 @@ exports[`Identity: Spacing renders 1`] = ` > - open_in_new - + className="at-arrow-up-from-square small align-self-baseline mr-2" + /> @@ -1457,10 +1447,8 @@ exports[`Identity: Spacing renders 1`] = ` > - open_in_new - + className="at-arrow-up-from-square small align-self-baseline mr-2" + /> diff --git a/src/App/Identity/identity/Typography/__snapshots__/index.test.js.snap b/src/App/Identity/identity/Typography/__snapshots__/index.test.js.snap index ac7560bba7..acdc58e3ff 100644 --- a/src/App/Identity/identity/Typography/__snapshots__/index.test.js.snap +++ b/src/App/Identity/identity/Typography/__snapshots__/index.test.js.snap @@ -1305,10 +1305,8 @@ exports[`Core: Typography Typefaces renders 1`] = ` > - download - + className="at-download-arrow-down small align-self-baseline" + /> diff --git a/src/App/Patterns/content/Forms/__snapshots__/index.test.js.snap b/src/App/Patterns/content/Forms/__snapshots__/index.test.js.snap index 4d9038004f..1d06d867e9 100644 --- a/src/App/Patterns/content/Forms/__snapshots__/index.test.js.snap +++ b/src/App/Patterns/content/Forms/__snapshots__/index.test.js.snap @@ -66,10 +66,9 @@ exports[`Forms: index renders 1`] = ` onClick={[Function]} > - menu_open - + aria-hidden="true" + className="at-arrow-right-line" + /> @@ -167,10 +166,9 @@ exports[`Forms: index renders 1`] = ` onClick={[Function]} > - close - + aria-hidden="true" + className="at-arrow-left-line" + /> diff --git a/src/App/Patterns/content/Patterns/__snapshots__/index.test.js.snap b/src/App/Patterns/content/Patterns/__snapshots__/index.test.js.snap index 890a27c326..f2d4e1dfdf 100644 --- a/src/App/Patterns/content/Patterns/__snapshots__/index.test.js.snap +++ b/src/App/Patterns/content/Patterns/__snapshots__/index.test.js.snap @@ -83,10 +83,8 @@ exports[`Patterns renders 1`] = ` className="cards-content flex-row align-items-center m-0 " > - format_align_justify - + className="at-newspaper-newsletter small mr-3" + /> @@ -94,10 +92,9 @@ exports[`Patterns renders 1`] = ` - arrow_forward - + aria-hidden="true" + className="at-arrow-right small" + /> - account_circle - + className="at-account small mr-3" + /> @@ -119,10 +114,9 @@ exports[`Patterns renders 1`] = ` - arrow_forward - + aria-hidden="true" + className="at-arrow-right small" + /> diff --git a/src/App/Utilities/__snapshots__/index.test.js.snap b/src/App/Utilities/__snapshots__/index.test.js.snap index c1e6a4f47d..a9b256e287 100644 --- a/src/App/Utilities/__snapshots__/index.test.js.snap +++ b/src/App/Utilities/__snapshots__/index.test.js.snap @@ -21,10 +21,8 @@ exports[`Utilities: index renders 1`] = ` > - child_care - + className="at-hand-holding-seedling small mr-2" + /> New diff --git a/src/App/docutils/StatusBadge/__snapshots__/index.test.js.snap b/src/App/docutils/StatusBadge/__snapshots__/index.test.js.snap index 7fb6cbcc6b..f1ce5f7c41 100644 --- a/src/App/docutils/StatusBadge/__snapshots__/index.test.js.snap +++ b/src/App/docutils/StatusBadge/__snapshots__/index.test.js.snap @@ -8,10 +8,8 @@ exports[`Utilities: StatusBadge renders deprecated status badge when type is 'de > - delete_forever - + className="at-trash small mr-2" + /> Deprecated `; @@ -34,10 +32,8 @@ exports[`Utilities: StatusBadge renders new status badge when type is 'new' 1`] > - child_care - + className="at-hand-holding-seedling small mr-2" + /> New `; @@ -48,10 +44,8 @@ exports[`Utilities: StatusBadge renders remove status badge when type is 'remove > - sentiment_very_dissatisfied - + className="at-axe" + /> Being removed `; @@ -62,10 +56,8 @@ exports[`Utilities: StatusBadge renders updated status badge when type is 'updat > - mood - + className="at-click-select small mr-2" + /> Newly updated `; From e89e6bb286c824bbc0f4b67c04e0b7fe68657f58 Mon Sep 17 00:00:00 2001 From: Raphael Ferrand