Skip to content

Commit

Permalink
Merge pull request #1 from m4olivei/chore/left-nav-item-cleanup
Browse files Browse the repository at this point in the history
chore(masthead): remove left-nav-item masthead component
  • Loading branch information
jkaeser authored Oct 10, 2023
2 parents 05fa891 + 80f9fe7 commit bf424c4
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ to see how Web Components selector and `data-autoid` should be used.
| `<cds-top-nav-menu trigger-content="${item}">` and `<cds-top-nav-item title="${item}">` | `data-autoid="cds--masthead__l0-nav--nav${item}"` | Interactive |
| `<cds-top-nav-menu-item title="${item}">` | `data-autoid="cds--masthead__l0-nav--subnav-col${item}-item${item}"` | Interactive |
| `<cds-left-nav>` | `data-autoid="cds--masthead__l0-sidenav"` | Component |
| `<cds-left-nav-menu trigger-content="${item}">` and `<cds-left-nav-item title="${item}">` | `data-autoid="cds--masthead__l0-sidenav--nav${item}"` | Interactive |
| `<cds-left-nav-menu trigger-content="${item}">` | `data-autoid="cds--masthead__l0-sidenav--nav${item}"` | Interactive |
| `<cds-left-nav-menu-item title="${item}">` | `data-autoid="cds--masthead__l0-sidenav--subnav-col${item}-item${item}"` | Interactive |

<Description markdown={contributing} />
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ to see how Web Components selector and `data-autoid` should be used.
| `<cds-top-nav-menu trigger-content="${item}">` and `<cds-top-nav-item title="${item}">` | `data-autoid="cds--masthead__l0-nav--nav${item}"` | Interactive |
| `<cds-top-nav-menu-item title="${item}">` | `data-autoid="cds--masthead__l0-nav--subnav-col${item}-item${item}"` | Interactive |
| `<cds-left-nav>` | `data-autoid="cds--masthead__l0-sidenav"` | Component |
| `<cds-left-nav-menu trigger-content="${item}">` and `<cds-left-nav-item title="${item}">` | `data-autoid="cds--masthead__l0-sidenav--nav${item}"` | Interactive |
| `<cds-left-nav-menu trigger-content="${item}">` | `data-autoid="cds--masthead__l0-sidenav--nav${item}"` | Interactive |
| `<cds-left-nav-menu-item title="${item}">` | `data-autoid="cds--masthead__l0-sidenav--subnav-col${item}-item${item}"` | Interactive |

<Description markdown={contributing} />
27 changes: 0 additions & 27 deletions packages/web-components/src/components/masthead/left-nav-item.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,6 @@ class C4DLeftNavMenuSection extends HostListenerMixin(FocusMixin(LitElement)) {
static get selectorTabbable() {
return [
selectorTabbable,
`${c4dPrefix}-left-nav-item`,
`${c4dPrefix}-left-nav-menu`,
`${c4dPrefix}-left-nav-menu-item`,
].join(',');
Expand Down
2 changes: 0 additions & 2 deletions packages/web-components/src/components/masthead/left-nav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,6 @@ class C4DLeftNav extends StableSelectorMixin(CDSSideNav) {
*/
static get selectorNavItems() {
return [
`${c4dPrefix}-left-nav-item`,
`${c4dPrefix}-left-nav-menu`,
`${c4dPrefix}-left-nav-menu-item`,
`${c4dPrefix}-left-nav-name`,
Expand Down Expand Up @@ -386,7 +385,6 @@ class C4DLeftNav extends StableSelectorMixin(CDSSideNav) {
static get selectorTabbable() {
return [
selectorTabbable,
`${c4dPrefix}-left-nav-item`,
`${c4dPrefix}-left-nav-menu`,
`${c4dPrefix}-left-nav-menu-item`,
`${c4dPrefix}-left-nav-name`,
Expand Down

0 comments on commit bf424c4

Please sign in to comment.