carbon-components-angular 5.24.1 → 5.24.2
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.
- package/docs/documentation/components/DropdownList.html +17 -16
- package/docs/documentation/js/search/search_index.js +2 -2
- package/docs/documentation/modules/ComboBoxModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ComboBoxModule.html +4 -4
- package/docs/documentation/modules/ContentSwitcherModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ContentSwitcherModule.html +4 -4
- package/docs/documentation/modules/DatePickerInputModule/dependencies.svg +7 -7
- package/docs/documentation/modules/DatePickerInputModule.html +7 -7
- package/docs/documentation/modules/DatePickerModule/dependencies.svg +57 -53
- package/docs/documentation/modules/DatePickerModule.html +57 -53
- package/docs/documentation/modules/DialogModule/dependencies.svg +34 -34
- package/docs/documentation/modules/DialogModule.html +34 -34
- package/docs/documentation/modules/GridModule/dependencies.svg +60 -60
- package/docs/documentation/modules/GridModule.html +60 -60
- package/docs/documentation/modules/LoadingModule/dependencies.svg +4 -4
- package/docs/documentation/modules/LoadingModule.html +4 -4
- package/docs/documentation/modules/NFormsModule/dependencies.svg +4 -4
- package/docs/documentation/modules/NFormsModule.html +4 -4
- package/docs/documentation/modules/NumberModule/dependencies.svg +4 -4
- package/docs/documentation/modules/NumberModule.html +4 -4
- package/docs/documentation/modules/ProgressIndicatorModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ProgressIndicatorModule.html +4 -4
- package/docs/documentation/modules/RadioModule/dependencies.svg +4 -4
- package/docs/documentation/modules/RadioModule.html +4 -4
- package/docs/documentation/modules/SearchModule/dependencies.svg +4 -4
- package/docs/documentation/modules/SearchModule.html +4 -4
- package/docs/documentation/modules/SelectModule/dependencies.svg +58 -58
- package/docs/documentation/modules/SelectModule.html +58 -58
- package/docs/documentation/modules/SliderModule/dependencies.svg +4 -4
- package/docs/documentation/modules/SliderModule.html +4 -4
- package/docs/documentation/modules/StructuredListModule/dependencies.svg +66 -66
- package/docs/documentation/modules/StructuredListModule.html +66 -66
- package/docs/documentation/modules/TabsModule/dependencies.svg +69 -69
- package/docs/documentation/modules/TabsModule.html +69 -69
- package/docs/documentation/modules/TagModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TagModule.html +4 -4
- package/docs/documentation/modules/ThemeModule/dependencies.svg +13 -13
- package/docs/documentation/modules/ThemeModule.html +13 -13
- package/docs/documentation/modules/TilesModule/dependencies.svg +100 -100
- package/docs/documentation/modules/TilesModule.html +100 -100
- package/docs/documentation/modules/TimePickerModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TimePickerModule.html +4 -4
- package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +7 -7
- package/docs/documentation/modules/TimePickerSelectModule.html +7 -7
- package/docs/documentation/modules/ToggleModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ToggleModule.html +4 -4
- package/docs/documentation/modules/ToggletipModule/dependencies.svg +37 -37
- package/docs/documentation/modules/ToggletipModule.html +37 -37
- package/docs/documentation/modules/TooltipModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TooltipModule.html +4 -4
- package/docs/documentation/modules/TreeviewModule/dependencies.svg +37 -37
- package/docs/documentation/modules/TreeviewModule.html +37 -37
- package/docs/documentation.json +9 -9
- package/docs/storybook/{3224.92030851.iframe.bundle.js → 3224.aa2b4664.iframe.bundle.js} +1 -1
- package/docs/storybook/iframe.html +2 -2
- package/docs/storybook/{main.9d694b47.iframe.bundle.js → main.882077ad.iframe.bundle.js} +1 -1
- package/docs/storybook/project.json +1 -1
- package/docs/storybook/{runtime~main.1f3e45b2.iframe.bundle.js → runtime~main.57b056bd.iframe.bundle.js} +1 -1
- package/esm2020/dropdown/list/dropdown-list.component.mjs +4 -3
- package/fesm2015/carbon-components-angular-dropdown.mjs +5 -2
- package/fesm2015/carbon-components-angular-dropdown.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-dropdown.mjs +3 -2
- package/fesm2020/carbon-components-angular-dropdown.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -785,8 +785,8 @@ ArrowUp -> emit event</p>
|
|
|
785
785
|
|
|
786
786
|
<tr>
|
|
787
787
|
<td class="col-md-4">
|
|
788
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
789
|
-
class="link-to-prism">src/dropdown/list/dropdown-list.component.ts:
|
|
788
|
+
<div class="io-line">Defined in <a href="" data-line="537"
|
|
789
|
+
class="link-to-prism">src/dropdown/list/dropdown-list.component.ts:537</a></div>
|
|
790
790
|
</td>
|
|
791
791
|
</tr>
|
|
792
792
|
|
|
@@ -930,8 +930,8 @@ ArrowUp -> emit event</p>
|
|
|
930
930
|
|
|
931
931
|
<tr>
|
|
932
932
|
<td class="col-md-4">
|
|
933
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
934
|
-
class="link-to-prism">src/dropdown/list/dropdown-list.component.ts:
|
|
933
|
+
<div class="io-line">Defined in <a href="" data-line="572"
|
|
934
|
+
class="link-to-prism">src/dropdown/list/dropdown-list.component.ts:572</a></div>
|
|
935
935
|
</td>
|
|
936
936
|
</tr>
|
|
937
937
|
|
|
@@ -1570,8 +1570,8 @@ ArrowUp -> emit event</p>
|
|
|
1570
1570
|
|
|
1571
1571
|
<tr>
|
|
1572
1572
|
<td class="col-md-4">
|
|
1573
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1574
|
-
class="link-to-prism">src/dropdown/list/dropdown-list.component.ts:
|
|
1573
|
+
<div class="io-line">Defined in <a href="" data-line="505"
|
|
1574
|
+
class="link-to-prism">src/dropdown/list/dropdown-list.component.ts:505</a></div>
|
|
1575
1575
|
</td>
|
|
1576
1576
|
</tr>
|
|
1577
1577
|
|
|
@@ -1720,8 +1720,8 @@ Additionally, any Observables for the <code>DropdownList</code> are initialized.
|
|
|
1720
1720
|
|
|
1721
1721
|
<tr>
|
|
1722
1722
|
<td class="col-md-4">
|
|
1723
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1724
|
-
class="link-to-prism">src/dropdown/list/dropdown-list.component.ts:
|
|
1723
|
+
<div class="io-line">Defined in <a href="" data-line="563"
|
|
1724
|
+
class="link-to-prism">src/dropdown/list/dropdown-list.component.ts:563</a></div>
|
|
1725
1725
|
</td>
|
|
1726
1726
|
</tr>
|
|
1727
1727
|
|
|
@@ -1785,8 +1785,8 @@ Additionally, any Observables for the <code>DropdownList</code> are initialized.
|
|
|
1785
1785
|
|
|
1786
1786
|
<tr>
|
|
1787
1787
|
<td class="col-md-4">
|
|
1788
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1789
|
-
class="link-to-prism">src/dropdown/list/dropdown-list.component.ts:
|
|
1788
|
+
<div class="io-line">Defined in <a href="" data-line="557"
|
|
1789
|
+
class="link-to-prism">src/dropdown/list/dropdown-list.component.ts:557</a></div>
|
|
1790
1790
|
</td>
|
|
1791
1791
|
</tr>
|
|
1792
1792
|
|
|
@@ -1850,8 +1850,8 @@ Additionally, any Observables for the <code>DropdownList</code> are initialized.
|
|
|
1850
1850
|
|
|
1851
1851
|
<tr>
|
|
1852
1852
|
<td class="col-md-4">
|
|
1853
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1854
|
-
class="link-to-prism">src/dropdown/list/dropdown-list.component.ts:
|
|
1853
|
+
<div class="io-line">Defined in <a href="" data-line="582"
|
|
1854
|
+
class="link-to-prism">src/dropdown/list/dropdown-list.component.ts:582</a></div>
|
|
1855
1855
|
</td>
|
|
1856
1856
|
</tr>
|
|
1857
1857
|
|
|
@@ -1992,8 +1992,8 @@ Additionally, any Observables for the <code>DropdownList</code> are initialized.
|
|
|
1992
1992
|
|
|
1993
1993
|
<tr>
|
|
1994
1994
|
<td class="col-md-4">
|
|
1995
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1996
|
-
class="link-to-prism">src/dropdown/list/dropdown-list.component.ts:
|
|
1995
|
+
<div class="io-line">Defined in <a href="" data-line="587"
|
|
1996
|
+
class="link-to-prism">src/dropdown/list/dropdown-list.component.ts:587</a></div>
|
|
1997
1997
|
</td>
|
|
1998
1998
|
</tr>
|
|
1999
1999
|
|
|
@@ -3103,7 +3103,7 @@ export class DropdownList implements AbstractDropdownView, AfterViewInit, OnDest
|
|
|
3103
3103
|
}
|
|
3104
3104
|
}
|
|
3105
3105
|
|
|
3106
|
-
return elemList[this.index]
|
|
3106
|
+
return elemList[this.index]?.nativeElement;
|
|
3107
3107
|
}
|
|
3108
3108
|
|
|
3109
3109
|
/**
|
|
@@ -3241,6 +3241,7 @@ export class DropdownList implements AbstractDropdownView, AfterViewInit, OnDest
|
|
|
3241
3241
|
updateIndex() {
|
|
3242
3242
|
// initialize index on the first selected item or
|
|
3243
3243
|
// on the next non disabled item if no items are selected
|
|
3244
|
+
// in case, if all items are disabled, the index value will remain same
|
|
3244
3245
|
const selected = this.getSelected();
|
|
3245
3246
|
if (selected.length) {
|
|
3246
3247
|
this.index = this.displayItems.indexOf(selected[0]);
|
|
@@ -3264,7 +3265,7 @@ export class DropdownList implements AbstractDropdownView, AfterViewInit, OnDest
|
|
|
3264
3265
|
event.preventDefault();
|
|
3265
3266
|
if (event.key === "ArrowDown") {
|
|
3266
3267
|
if (this.hasNextElement()) {
|
|
3267
|
-
this.getNextElement()
|
|
3268
|
+
this.getNextElement()?.scrollIntoView({ block: "end" });
|
|
3268
3269
|
} else {
|
|
3269
3270
|
this.blurIntent.emit("bottom");
|
|
3270
3271
|
}
|