Skip to content

Commit ed83df0

Browse files
[WNMGDS-3144] Alert Guidance updates (#3369)
* Added content * Removing unneeded theme content * Remove theme specific content under lightweight option * Added table and other needed content * Small change to table and update storybook link text * Make them BOLD * Get rid of that table * remove table imports
1 parent ece5448 commit ed83df0

File tree

7 files changed

+173
-195
lines changed

7 files changed

+173
-195
lines changed

packages/docs/content/components/alert.mdx

Lines changed: 129 additions & 188 deletions
Large diffs are not rendered by default.

packages/docs/src/components/content/SeeStorybookForGuidance.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ const SeeStorybookForGuidance = ({
2525
}: StorybookExampleFooterProps) => {
2626
return (
2727
<p>
28-
See <a href={makeStorybookUrl(storyId, theme, 'docs')}>Storybook</a> for{' '}
29-
{tech === 'react' ? 'React' : 'Web Component'} guidance of this component.
28+
<a href={makeStorybookUrl(storyId, theme, 'docs')}>
29+
{tech === 'react' ? 'Review' : 'Go to'} Storybook for{' '}
30+
{tech === 'react' ? 'React' : 'Web Component'} guidance of this component.
31+
</a>
3032
</p>
3133
);
3234
};

packages/docs/static/themes/cmsgov-theme.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@
132132
--font-family-body: 'Public Sans', 'Inter', 'Roboto', 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'sans-serif';
133133
--font-family-button: 'Public Sans', 'Inter', 'Roboto', 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'sans-serif';
134134
--font-family-link: 'Public Sans', 'Inter', 'Roboto', 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'sans-serif';
135+
--font-family-pagination: 'Public Sans', 'Inter', 'Roboto', 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'sans-serif';
135136
--font-weight-heading-5xl: var(--font-weight-semibold);
136137
--font-weight-heading-4xl: var(--font-weight-normal);
137138
--font-weight-heading-3xl: var(--font-weight-normal);

packages/docs/static/themes/core-theme.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@
132132
--font-family-body: 'Open Sans', 'Inter', 'Roboto', 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'sans-serif';
133133
--font-family-button: 'Open Sans', 'Inter', 'Roboto', 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'sans-serif';
134134
--font-family-link: 'Open Sans', 'Inter', 'Roboto', 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'sans-serif';
135+
--font-family-pagination: 'Open Sans', 'Inter', 'Roboto', 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'sans-serif';
135136
--font-weight-heading-5xl: var(--font-weight-bold);
136137
--font-weight-heading-4xl: var(--font-weight-normal);
137138
--font-weight-heading-3xl: var(--font-weight-normal);

packages/docs/static/themes/healthcare-theme.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@
132132
--font-family-body: 'Open Sans', 'Inter', 'Roboto', 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'sans-serif';
133133
--font-family-button: 'Open Sans', 'Inter', 'Roboto', 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'sans-serif';
134134
--font-family-link: 'Open Sans', 'Inter', 'Roboto', 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'sans-serif';
135+
--font-family-pagination: 'Open Sans', 'Inter', 'Roboto', 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'sans-serif';
135136
--font-weight-heading-5xl: var(--font-weight-bold);
136137
--font-weight-heading-4xl: var(--font-weight-normal);
137138
--font-weight-heading-3xl: var(--font-weight-normal);

packages/docs/static/themes/medicare-theme.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@
132132
--font-family-body: 'Rubik', 'Seravek', 'Gill Sans Nova', 'Ubuntu', 'Calibri', 'DejaVu Sans', 'source-sans-pro', 'sans-serif';
133133
--font-family-button: 'Rubik', 'Seravek', 'Gill Sans Nova', 'Ubuntu', 'Calibri', 'DejaVu Sans', 'source-sans-pro', 'sans-serif';
134134
--font-family-link: 'Rubik', 'Seravek', 'Gill Sans Nova', 'Ubuntu', 'Calibri', 'DejaVu Sans', 'source-sans-pro', 'sans-serif';
135+
--font-family-pagination: 'Montserrat', 'Avenir', 'Corbel', 'URW Gothic', 'source-sans-pro', 'sans-serif';
135136
--font-weight-heading-5xl: var(--font-weight-bold);
136137
--font-weight-heading-4xl: var(--font-weight-bold);
137138
--font-weight-heading-3xl: var(--font-weight-bold);

yarn.lock

Lines changed: 36 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8799,7 +8799,7 @@
87998799
legacy-swc-helpers "npm:@swc/helpers@=0.4.14"
88008800
tslib "^2.4.0"
88018801

8802-
"@swc/helpers@^0.4.2", "legacy-swc-helpers@npm:@swc/helpers@=0.4.14":
8802+
"@swc/helpers@^0.4.2":
88038803
version "0.4.14"
88048804
resolved "https://registry.yarnpkg.com/@swc/helpers/-/helpers-0.4.14.tgz#1352ac6d95e3617ccb7c1498ff019654f1e12a74"
88058805
integrity sha512-4C7nX/dvpzB7za4Ql9K81xK3HPxCpHMgwTZVyf+9JQ6VUbn9jjZVN7/Nkdz/Ugzs2CSjqnL/UPXroiVBVHUWUw==
@@ -19594,6 +19594,13 @@ lead@^1.0.0:
1959419594
dependencies:
1959519595
flush-write-stream "^1.0.2"
1959619596

19597+
"legacy-swc-helpers@npm:@swc/helpers@=0.4.14":
19598+
version "0.4.14"
19599+
resolved "https://registry.yarnpkg.com/@swc/helpers/-/helpers-0.4.14.tgz#1352ac6d95e3617ccb7c1498ff019654f1e12a74"
19600+
integrity sha512-4C7nX/dvpzB7za4Ql9K81xK3HPxCpHMgwTZVyf+9JQ6VUbn9jjZVN7/Nkdz/Ugzs2CSjqnL/UPXroiVBVHUWUw==
19601+
dependencies:
19602+
tslib "^2.4.0"
19603+
1959719604
1959819605
version "12.2.0"
1959919606
resolved "https://registry.yarnpkg.com/less-loader/-/less-loader-12.2.0.tgz#e1e94522f6abe9e064ef396c29a3151bc6c1b6cc"
@@ -25881,7 +25888,7 @@ string-similarity@^1.2.2:
2588125888
lodash.map "^4.6.0"
2588225889
lodash.maxby "^4.6.0"
2588325890

25884-
"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3:
25891+
"string-width-cjs@npm:string-width@^4.2.0":
2588525892
version "4.2.3"
2588625893
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
2588725894
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -25899,6 +25906,15 @@ string-width@^1.0.1, string-width@^1.0.2:
2589925906
is-fullwidth-code-point "^1.0.0"
2590025907
strip-ansi "^3.0.0"
2590125908

25909+
string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3:
25910+
version "4.2.3"
25911+
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
25912+
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
25913+
dependencies:
25914+
emoji-regex "^8.0.0"
25915+
is-fullwidth-code-point "^3.0.0"
25916+
strip-ansi "^6.0.1"
25917+
2590225918
string-width@^5.0.1, string-width@^5.1.2:
2590325919
version "5.1.2"
2590425920
resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794"
@@ -26013,7 +26029,7 @@ stringify-object@^3.3.0:
2601326029
is-obj "^1.0.1"
2601426030
is-regexp "^1.0.0"
2601526031

26016-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
26032+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
2601726033
version "6.0.1"
2601826034
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
2601926035
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -26034,6 +26050,13 @@ strip-ansi@^5.2.0:
2603426050
dependencies:
2603526051
ansi-regex "^4.1.0"
2603626052

26053+
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
26054+
version "6.0.1"
26055+
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
26056+
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
26057+
dependencies:
26058+
ansi-regex "^5.0.1"
26059+
2603726060
strip-ansi@^7.0.1:
2603826061
version "7.0.1"
2603926062
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.0.1.tgz#61740a08ce36b61e50e65653f07060d000975fb2"
@@ -28663,8 +28686,7 @@ wordwrap@^1.0.0:
2866328686
resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb"
2866428687
integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==
2866528688

28666-
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
28667-
name wrap-ansi-cjs
28689+
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
2866828690
version "7.0.0"
2866928691
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
2867028692
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
@@ -28690,6 +28712,15 @@ wrap-ansi@^6.0.1, wrap-ansi@^6.2.0:
2869028712
string-width "^4.1.0"
2869128713
strip-ansi "^6.0.0"
2869228714

28715+
wrap-ansi@^7.0.0:
28716+
version "7.0.0"
28717+
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
28718+
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
28719+
dependencies:
28720+
ansi-styles "^4.0.0"
28721+
string-width "^4.1.0"
28722+
strip-ansi "^6.0.0"
28723+
2869328724
wrap-ansi@^8.1.0:
2869428725
version "8.1.0"
2869528726
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"

0 commit comments

Comments
 (0)