@momentum-ui/web-components 2.7.38 → 2.7.40-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,15 +10,15 @@
10
10
  <slot name="alert-icon"></slot>
11
11
  `}}}close(){this.dispatchEvent(new CustomEvent("alert-close",{composed:!0,bubbles:!0})),this.internalClose&&(this.show=!1)}static get styles(){return[l.a,c]}get alertClassMap(){return{["md-alert--"+this.type]:!!this.type,"md-alert__inline":this.inline}}render(){return a.html`
12
12
  ${this.show?a.html`
13
- <div part="alert" class="md-alert ${Object(s.classMap)(this.alertClassMap)}">
13
+ <div role="alert" part="alert" class="md-alert ${Object(s.classMap)(this.alertClassMap)}">
14
14
  <div class="md-alert__icon">
15
15
  ${this.renderIconTemplate()}
16
16
  </div>
17
17
  <div part="content" class="md-alert__content">
18
- <div aria-label=${this.title} class="md-alert__title" role="heading" aria-level="1">
18
+ <div aria-label=${this.title} class="md-alert__title" aria-level="1">
19
19
  ${this.title}
20
20
  </div>
21
- <div aria-label=${this.message} class="md-alert__message" role="textbox">
21
+ <div aria-label=${this.message} class="md-alert__message">
22
22
  ${this.message}
23
23
  <slot name="alert-body"></slot>
24
24
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momentum-ui/web-components",
3
- "version": "2.7.38",
3
+ "version": "2.7.40-dev",
4
4
  "author": "Yana Harris",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/momentum-design/momentum-ui.git",