-
Notifications
You must be signed in to change notification settings - Fork 797
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add card layout to a11y status component (#3885)
* chore: wip * feat: add missing components to overview page * chore: conflict * chore: yarn * chore: wip * feat: a11y status page content * feat: add screenreader data and tag style fixes * chore: cleanup * feat: add partially tested * feat: add all components from testing data * chore: yarn install state * chore: cleanup code * feat: add launch icon * chore: merge conflict * feat: add redirect * chore: fix install state * fix: update ui shell link * fix: link to use carbon link component * fix: add Equal Access Checker link * fix: add missing links to content * fix: add Taylor copy updates * fix: more copy updates * fix: copy updates * fix: copy updates * Update src/pages/components/overview/accessibility-status.mdx Co-authored-by: Taylor Jones <[email protected]> * Update src/pages/components/overview/accessibility-status.mdx * Update src/pages/components/overview/accessibility-status.mdx Co-authored-by: Taylor Jones <[email protected]> * Update src/pages/components/overview/accessibility-status.mdx Co-authored-by: Taylor Jones <[email protected]> * Update src/pages/components/overview/accessibility-status.mdx Co-authored-by: Taylor Jones <[email protected]> * Update src/pages/components/overview/accessibility-status.mdx Co-authored-by: Taylor Jones <[email protected]> * Update src/pages/components/overview/accessibility-status.mdx Co-authored-by: Taylor Jones <[email protected]> * Update src/pages/components/overview/accessibility-status.mdx Co-authored-by: Taylor Jones <[email protected]> * chore: format * fix: component data * fix: data * fix: update screenreader status for experimental components * fix: tag for experimental components * chore: remove style override for tag font * fix: update data * feat: add tooltips * fix: style specificity * chore: cleanup * feat: add filter for specific components * feat: add tooltips * chore: add missing title * chore: add code comments * chore: oops * feat: update descriptions, add tooltip, fix wrapping * feat: add to all a11y component pages * fix: update github url to handle names with multiple spaces * chore: remove console log * fix: paragraph spacings * feat: add card layout to a11y status component * chore: rename component and update theme * fix: add link component * feat: add cards to button and dropdown usage pages * fix: card spacing * fix: url location * chore: cleanup code * chore: cleanup * fix: anchor links * fix: url for aspect ratio * chore: refactor tag logic * fix: mobile paragraph spacing * fix: card borders * fix: anchor link * feat: add a11ystatus component to component usage pages * Update usage.mdx * fix: update title to subTitle in resource cards * Update src/components/A11yStatus/A11yStatus.js Co-authored-by: Taylor Jones <[email protected]> * chore: install-state --------- Co-authored-by: Taylor Jones <[email protected]>
- Loading branch information
1 parent
3ace127
commit 9b865a9
Showing
86 changed files
with
1,596 additions
and
1,202 deletions.
There are no files selected for viewing
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
.help { | ||
position: relative; | ||
padding-left: $spacing-03; | ||
top: $spacing-01; | ||
} | ||
|
||
.version, | ||
.moreLink { | ||
--space: 1.5rem; | ||
} | ||
|
||
:global(.cds--definition-term), | ||
:global(.cds--tag) { | ||
white-space: nowrap; | ||
} | ||
|
||
:global(.cds--tag .cds--popover) { | ||
white-space: normal; | ||
} | ||
|
||
.heading-link { | ||
&::before { | ||
content: ''; | ||
display: block; | ||
height: 96px; | ||
margin-top: -96px; | ||
} | ||
} | ||
|
||
// table view | ||
.table { | ||
margin-top: $spacing-06; | ||
} | ||
|
||
// card view | ||
.dropdown { | ||
:global(.cds--dropdown) { | ||
border-bottom-color: $border-subtle-01; | ||
border: none; | ||
} | ||
} | ||
|
||
.variant > div, | ||
.variant + .card-group, | ||
.variant + .card-group ~ .card-group { | ||
--space: 0; | ||
} | ||
|
||
.card-group :global(.cds--col-lg-4:nth-child(2n)) { | ||
@include breakpoint('lg') { | ||
margin-right: 33%; | ||
} | ||
} | ||
|
||
.card-group { | ||
div { | ||
--space: 0; | ||
} | ||
@include breakpoint('md') { | ||
border-left: 1px solid $border-subtle-01; | ||
} | ||
|
||
:global(.cds--resource-card) { | ||
border: none; | ||
border-top: 1px solid $border-subtle-01; | ||
|
||
@include breakpoint('md') { | ||
border-right: 1px solid $border-subtle-01; | ||
} | ||
} | ||
|
||
@include breakpoint('md') { | ||
:global(div:nth-last-child(-n + 2) .cds--resource-card) { | ||
border-bottom: 1px solid $border-subtle-01; | ||
} | ||
} | ||
|
||
:global(div:last-child .cds--resource-card) { | ||
border-bottom: 1px solid $border-subtle-01; | ||
} | ||
} | ||
|
||
.hidden { | ||
@include visually-hidden; | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.