@momentum-ui/web-components 3.0.0-alpha.5 → 3.0.0-alpha.6
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.
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
focus-back-to-trigger
|
|
45
45
|
placement=${this.placement}
|
|
46
46
|
hide-on-escape
|
|
47
|
-
@hidden
|
|
47
|
+
@hidden=${()=>{this.notifyCoachClose()}}
|
|
48
48
|
>
|
|
49
49
|
<div class="md-coachmark__popper" tabindex="-1">
|
|
50
50
|
${this.renderHeader()} ${this.renderBody()} ${this.renderFooter()}
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
part="dropdown-option"
|
|
129
129
|
?focused="${t===this.focusedIndex}"
|
|
130
130
|
?selected="${e.key===this.selectedKey}"
|
|
131
|
-
@click
|
|
131
|
+
@click=${()=>{this.focusToIndexWithOption(e),this.select(),this.collapse()}}
|
|
132
132
|
>
|
|
133
133
|
<span class="select-label" part="label">
|
|
134
134
|
<span>${e.value}</span>
|
package/dist/index-entry.js
CHANGED
|
@@ -838,7 +838,7 @@
|
|
|
838
838
|
part="dropdown-option"
|
|
839
839
|
?focused="${e===this.focusedIndex}"
|
|
840
840
|
?selected="${t.key===this.selectedKey}"
|
|
841
|
-
@click
|
|
841
|
+
@click=${()=>{this.focusToIndexWithOption(t),this.select(),this.collapse()}}
|
|
842
842
|
>
|
|
843
843
|
<span class="select-label" part="label">
|
|
844
844
|
<span>${t.value}</span>
|
|
@@ -1056,7 +1056,7 @@
|
|
|
1056
1056
|
focus-back-to-trigger
|
|
1057
1057
|
placement=${this.placement}
|
|
1058
1058
|
hide-on-escape
|
|
1059
|
-
@hidden
|
|
1059
|
+
@hidden=${()=>{this.notifyCoachClose()}}
|
|
1060
1060
|
>
|
|
1061
1061
|
<div class="md-coachmark__popper" tabindex="-1">
|
|
1062
1062
|
${this.renderHeader()} ${this.renderBody()} ${this.renderFooter()}
|