Skip to content

Commit

Permalink
Merge branch 'carbon-design-system:main' into card-with-pictogram-ADC…
Browse files Browse the repository at this point in the history
…MS-4074
  • Loading branch information
bruno-amorim authored Oct 26, 2023
2 parents 186a3ae + 9eb94ea commit a9cdecb
Show file tree
Hide file tree
Showing 11 changed files with 135 additions and 118 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ class BXSideNavMenuItem extends FocusMixin(LitElement) {
return true;
}

connectedCallback() {
if (!this.hasAttribute('role')) {
this.setAttribute('role', 'button');
}
super.connectedCallback();
}

render() {
const { active, href, title } = this;
const classes = classMap({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60334,15 +60334,15 @@ exports[`Storyshots Components/Dotcom shell With L1 1`] = `
className="bx--sub-content-right"
/>
<HeaderNavigation
aria-label=""
aria-label="Main Navigation"
className="bx--masthead__l1-nav"
>
<nav
aria-label=""
aria-label="Main Navigation"
className="bx--header__nav bx--masthead__l1-nav"
>
<ul
aria-label=""
aria-label="Main Navigation"
className="bx--header__menu-bar"
>
<ForwardRef
Expand Down Expand Up @@ -121566,15 +121566,15 @@ exports[`Storyshots Components/Masthead With L1 1`] = `
className="bx--sub-content-right"
/>
<HeaderNavigation
aria-label=""
aria-label="Main Navigation"
className="bx--masthead__l1-nav"
>
<nav
aria-label=""
aria-label="Main Navigation"
className="bx--header__nav bx--masthead__l1-nav"
>
<ul
aria-label=""
aria-label="Main Navigation"
className="bx--header__menu-bar"
>
<ForwardRef
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Masthead/MastheadL1.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const MastheadL1 = ({ navigationL1, ...rest }) => {
<HeaderNavContainer>
<HeaderNavigation
className={`${prefix}--masthead__l1-nav`}
aria-label="">
aria-label="Main Navigation">
{mastheadL1Links}
</HeaderNavigation>
</HeaderNavContainer>
Expand Down
15 changes: 2 additions & 13 deletions packages/styles/scss/components/filter-panel/_filter-panel.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright IBM Corp. 2016, 2022
* Copyright IBM Corp. 2016, 2023
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
Expand Down Expand Up @@ -237,18 +237,7 @@
}

:host(#{$dds-prefix}-filter-panel-heading) {
@include carbon--type-style('heading-01');
@include carbon--breakpoint('sm') {
margin-left: $spacing-05;
margin-bottom: $spacing-05;
}
@include carbon--breakpoint('lg') {
margin: 0;
}

@include carbon--breakpoint-down('lg') {
display: none;
}
display: none;
}

:host(#{$dds-prefix}-filter-group:first-of-type) {
Expand Down
Loading

0 comments on commit a9cdecb

Please sign in to comment.