carbon-components-angular 5.72.2 → 5.72.4

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.
Files changed (141) hide show
  1. package/combobox/combobox.component.d.ts +1 -1
  2. package/datepicker/datepicker.component.d.ts +1 -1
  3. package/docs/documentation/components/ComboBox.html +49 -49
  4. package/docs/documentation/components/DatePicker.html +34 -34
  5. package/docs/documentation/components/Dropdown.html +161 -160
  6. package/docs/documentation/components/ProgressIndicator.html +13 -9
  7. package/docs/documentation/components/Toast.html +5 -5
  8. package/docs/documentation/coverage.html +36 -0
  9. package/docs/documentation/interfaces/ActionableContent.html +2 -2
  10. package/docs/documentation/interfaces/NotificationAction.html +2 -2
  11. package/docs/documentation/interfaces/NotificationContent.html +2 -2
  12. package/docs/documentation/interfaces/NotificationLink.html +2 -2
  13. package/docs/documentation/interfaces/ToastContent.html +14 -2
  14. package/docs/documentation/js/menu-wc_es5.js +1 -1
  15. package/docs/documentation/js/search/search_index.js +2 -2
  16. package/docs/documentation/miscellaneous/functions.html +257 -1
  17. package/docs/documentation/modules/CheckboxModule/dependencies.svg +42 -42
  18. package/docs/documentation/modules/CheckboxModule.html +42 -42
  19. package/docs/documentation/modules/CodeSnippetModule/dependencies.svg +4 -4
  20. package/docs/documentation/modules/CodeSnippetModule.html +4 -4
  21. package/docs/documentation/modules/ComboBoxModule/dependencies.svg +6 -6
  22. package/docs/documentation/modules/ComboBoxModule.html +6 -6
  23. package/docs/documentation/modules/ContentSwitcherModule/dependencies.svg +4 -4
  24. package/docs/documentation/modules/ContentSwitcherModule.html +4 -4
  25. package/docs/documentation/modules/ContextMenuModule/dependencies.svg +67 -67
  26. package/docs/documentation/modules/ContextMenuModule.html +67 -67
  27. package/docs/documentation/modules/DatePickerInputModule/dependencies.svg +4 -4
  28. package/docs/documentation/modules/DatePickerInputModule.html +4 -4
  29. package/docs/documentation/modules/DatePickerModule/dependencies.svg +6 -6
  30. package/docs/documentation/modules/DatePickerModule.html +6 -6
  31. package/docs/documentation/modules/DialogModule/dependencies.svg +33 -33
  32. package/docs/documentation/modules/DialogModule.html +33 -33
  33. package/docs/documentation/modules/DocumentationModule/dependencies.svg +4 -4
  34. package/docs/documentation/modules/DocumentationModule.html +4 -4
  35. package/docs/documentation/modules/DropdownModule/dependencies.svg +68 -68
  36. package/docs/documentation/modules/DropdownModule.html +68 -68
  37. package/docs/documentation/modules/GridModule/dependencies.svg +64 -64
  38. package/docs/documentation/modules/GridModule.html +64 -64
  39. package/docs/documentation/modules/HeaderModule/dependencies.svg +4 -4
  40. package/docs/documentation/modules/HeaderModule.html +4 -4
  41. package/docs/documentation/modules/I18nModule/dependencies.svg +4 -4
  42. package/docs/documentation/modules/I18nModule.html +4 -4
  43. package/docs/documentation/modules/InputModule/dependencies.svg +4 -4
  44. package/docs/documentation/modules/InputModule.html +4 -4
  45. package/docs/documentation/modules/LayoutModule/dependencies.svg +4 -4
  46. package/docs/documentation/modules/LayoutModule.html +4 -4
  47. package/docs/documentation/modules/LinkModule/dependencies.svg +4 -4
  48. package/docs/documentation/modules/LinkModule.html +4 -4
  49. package/docs/documentation/modules/ListModule/dependencies.svg +4 -4
  50. package/docs/documentation/modules/ListModule.html +4 -4
  51. package/docs/documentation/modules/LoadingModule/dependencies.svg +4 -4
  52. package/docs/documentation/modules/LoadingModule.html +4 -4
  53. package/docs/documentation/modules/MenuButtonModule/dependencies.svg +4 -4
  54. package/docs/documentation/modules/MenuButtonModule.html +4 -4
  55. package/docs/documentation/modules/ModalModule/dependencies.svg +116 -116
  56. package/docs/documentation/modules/ModalModule.html +116 -116
  57. package/docs/documentation/modules/NotificationModule/dependencies.svg +124 -124
  58. package/docs/documentation/modules/NotificationModule.html +124 -124
  59. package/docs/documentation/modules/PaginationModule/dependencies.svg +4 -4
  60. package/docs/documentation/modules/PaginationModule.html +4 -4
  61. package/docs/documentation/modules/PanelModule/dependencies.svg +36 -36
  62. package/docs/documentation/modules/PanelModule.html +36 -36
  63. package/docs/documentation/modules/ProgressBarModule/dependencies.svg +12 -12
  64. package/docs/documentation/modules/ProgressBarModule.html +12 -12
  65. package/docs/documentation/modules/ProgressIndicatorModule/dependencies.svg +4 -4
  66. package/docs/documentation/modules/ProgressIndicatorModule.html +4 -4
  67. package/docs/documentation/modules/RadioModule/dependencies.svg +47 -47
  68. package/docs/documentation/modules/RadioModule.html +47 -47
  69. package/docs/documentation/modules/SearchModule/dependencies.svg +45 -49
  70. package/docs/documentation/modules/SearchModule.html +45 -49
  71. package/docs/documentation/modules/SelectModule/dependencies.svg +58 -58
  72. package/docs/documentation/modules/SelectModule.html +58 -58
  73. package/docs/documentation/modules/SliderModule/dependencies.svg +46 -42
  74. package/docs/documentation/modules/SliderModule.html +46 -42
  75. package/docs/documentation/modules/StructuredListModule/dependencies.svg +69 -69
  76. package/docs/documentation/modules/StructuredListModule.html +69 -69
  77. package/docs/documentation/modules/TabsModule/dependencies.svg +41 -41
  78. package/docs/documentation/modules/TabsModule.html +41 -41
  79. package/docs/documentation/modules/TagModule/dependencies.svg +4 -4
  80. package/docs/documentation/modules/TagModule.html +4 -4
  81. package/docs/documentation/modules/ThemeModule/dependencies.svg +13 -13
  82. package/docs/documentation/modules/ThemeModule.html +13 -13
  83. package/docs/documentation/modules/TilesModule/dependencies.svg +108 -108
  84. package/docs/documentation/modules/TilesModule.html +108 -108
  85. package/docs/documentation/modules/TimePickerModule/dependencies.svg +45 -41
  86. package/docs/documentation/modules/TimePickerModule.html +45 -41
  87. package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +4 -4
  88. package/docs/documentation/modules/TimePickerSelectModule.html +4 -4
  89. package/docs/documentation/modules/ToggleModule/dependencies.svg +37 -41
  90. package/docs/documentation/modules/ToggleModule.html +37 -41
  91. package/docs/documentation/modules/ToggletipModule/dependencies.svg +39 -39
  92. package/docs/documentation/modules/ToggletipModule.html +39 -39
  93. package/docs/documentation/modules/TooltipModule/dependencies.svg +4 -4
  94. package/docs/documentation/modules/TooltipModule.html +4 -4
  95. package/docs/documentation/modules/TreeviewModule/dependencies.svg +30 -30
  96. package/docs/documentation/modules/TreeviewModule.html +30 -30
  97. package/docs/documentation.json +144 -649
  98. package/docs/storybook/{3224.14e2c79a.iframe.bundle.js → 3224.3c2075c3.iframe.bundle.js} +1 -1
  99. package/docs/storybook/{901.49ee92eb.iframe.bundle.js → 901.f208c589.iframe.bundle.js} +1 -1
  100. package/docs/storybook/{combobox-combobox-stories.e3d08f7d.iframe.bundle.js → combobox-combobox-stories.49ceebb5.iframe.bundle.js} +1 -1
  101. package/docs/storybook/{datepicker-datepicker-stories.559a71ec.iframe.bundle.js → datepicker-datepicker-stories.71ef84d0.iframe.bundle.js} +1 -1
  102. package/docs/storybook/iframe.html +12 -3
  103. package/docs/storybook/index.html +35 -39
  104. package/docs/storybook/main.ca0a416e.iframe.bundle.js +1 -0
  105. package/docs/storybook/{patterns-dialogs-modal-with-table-stories.b72796c6.iframe.bundle.js → patterns-dialogs-modal-with-table-stories.8acaa07a.iframe.bundle.js} +1 -1
  106. package/docs/storybook/{patterns-forms-multi-step-form-stories.2ea46e56.iframe.bundle.js → patterns-forms-multi-step-form-stories.495d62f5.iframe.bundle.js} +1 -1
  107. package/docs/storybook/{patterns-loading-large-loading-stories.e6ae3e31.iframe.bundle.js → patterns-loading-large-loading-stories.564e9ea6.iframe.bundle.js} +1 -1
  108. package/docs/storybook/{progress-indicator-progress-indicator-stories.dae29927.iframe.bundle.js → progress-indicator-progress-indicator-stories.f7da9e42.iframe.bundle.js} +1 -1
  109. package/docs/storybook/project.json +1 -1
  110. package/docs/storybook/{runtime~main.b11c471e.iframe.bundle.js → runtime~main.a709e446.iframe.bundle.js} +1 -1
  111. package/docs/storybook/sb-addons/essentials-controls-1/manager-bundle.js +31 -31
  112. package/dropdown/dropdown.component.d.ts +3 -3
  113. package/esm2020/combobox/combobox.component.mjs +5 -5
  114. package/esm2020/datepicker/datepicker.component.mjs +9 -9
  115. package/esm2020/dropdown/dropdown.component.mjs +13 -13
  116. package/esm2020/notification/notification-content.interface.mjs +1 -1
  117. package/esm2020/notification/toast.component.mjs +5 -5
  118. package/esm2020/progress-indicator/progress-indicator.component.mjs +8 -5
  119. package/fesm2015/carbon-components-angular-combobox.mjs +4 -4
  120. package/fesm2015/carbon-components-angular-combobox.mjs.map +1 -1
  121. package/fesm2015/carbon-components-angular-datepicker.mjs +8 -8
  122. package/fesm2015/carbon-components-angular-datepicker.mjs.map +1 -1
  123. package/fesm2015/carbon-components-angular-dropdown.mjs +12 -12
  124. package/fesm2015/carbon-components-angular-dropdown.mjs.map +1 -1
  125. package/fesm2015/carbon-components-angular-notification.mjs +4 -4
  126. package/fesm2015/carbon-components-angular-notification.mjs.map +1 -1
  127. package/fesm2015/carbon-components-angular-progress-indicator.mjs +7 -4
  128. package/fesm2015/carbon-components-angular-progress-indicator.mjs.map +1 -1
  129. package/fesm2020/carbon-components-angular-combobox.mjs +4 -4
  130. package/fesm2020/carbon-components-angular-combobox.mjs.map +1 -1
  131. package/fesm2020/carbon-components-angular-datepicker.mjs +8 -8
  132. package/fesm2020/carbon-components-angular-datepicker.mjs.map +1 -1
  133. package/fesm2020/carbon-components-angular-dropdown.mjs +12 -12
  134. package/fesm2020/carbon-components-angular-dropdown.mjs.map +1 -1
  135. package/fesm2020/carbon-components-angular-notification.mjs +4 -4
  136. package/fesm2020/carbon-components-angular-notification.mjs.map +1 -1
  137. package/fesm2020/carbon-components-angular-progress-indicator.mjs +7 -4
  138. package/fesm2020/carbon-components-angular-progress-indicator.mjs.map +1 -1
  139. package/notification/notification-content.interface.d.ts +2 -2
  140. package/package.json +1 -1
  141. package/docs/storybook/main.a1247bb8.iframe.bundle.js +0 -1
@@ -401,6 +401,9 @@ class Dropdown {
401
401
  get fluidFocusClass() {
402
402
  return this.fluid && this._isFocused && this.menuIsClosed;
403
403
  }
404
+ get hasDecorator() {
405
+ return !!this.decorator;
406
+ }
404
407
  get writtenValue() {
405
408
  return this._writtenValue;
406
409
  }
@@ -410,9 +413,6 @@ class Dropdown {
410
413
  }
411
414
  this._writtenValue = val;
412
415
  }
413
- get hasDecorator() {
414
- return !!this.decorator;
415
- }
416
416
  /**
417
417
  * Updates the `type` property in the `@ContentChild`.
418
418
  * The `type` property specifies whether the `Dropdown` allows single selection or multi selection.
@@ -551,11 +551,6 @@ class Dropdown {
551
551
  registerOnTouched(fn) {
552
552
  this.onTouchedCallback = fn;
553
553
  }
554
- // used only to update writtenValue
555
- _propagateChange(value) {
556
- this.writtenValue = value;
557
- this.propagateChange(value);
558
- }
559
554
  /**
560
555
  * `ControlValueAccessor` method to programmatically disable the dropdown.
561
556
  *
@@ -852,10 +847,15 @@ class Dropdown {
852
847
  this.view.reorderSelected();
853
848
  }
854
849
  }
850
+ // used only to update writtenValue
851
+ _propagateChange(value) {
852
+ this.writtenValue = value;
853
+ this.propagateChange(value);
854
+ }
855
855
  }
856
856
  Dropdown.dropdownCount = 0;
857
857
  Dropdown.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: Dropdown, deps: [{ token: i0.ElementRef }, { token: i1$1.I18n }, { token: DropdownService }, { token: i2.ElementService }], target: i0.ɵɵFactoryTarget.Component });
858
- Dropdown.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: Dropdown, selector: "cds-dropdown, ibm-dropdown", inputs: { id: "id", label: "label", hideLabel: "hideLabel", helperText: "helperText", decorator: "decorator", placeholder: "placeholder", displayValue: "displayValue", clearText: "clearText", size: "size", type: "type", theme: "theme", disabled: "disabled", readonly: "readonly", skeleton: "skeleton", inline: "inline", disableArrowKeys: "disableArrowKeys", invalid: "invalid", invalidText: "invalidText", warn: "warn", warnText: "warnText", appendInline: "appendInline", scrollableContainer: "scrollableContainer", itemValueKey: "itemValueKey", selectionFeedback: "selectionFeedback", menuButtonLabel: "menuButtonLabel", selectedLabel: "selectedLabel", dropUp: "dropUp", allowNullValues: "allowNullValues", fluid: "fluid" }, outputs: { selected: "selected", onClose: "onClose", close: "close" }, host: { listeners: { "keydown": "onKeyDown($event)" }, properties: { "class.cds--list-box__wrapper--fluid--invalid": "this.fluidInvalidClass", "class.cds--list-box__wrapper--fluid--focus": "this.fluidFocusClass", "class.cds--dropdown__wrapper": "this.hostClass", "class.cds--list-box__wrapper": "this.hostWrapperClass", "class.cds--list-box__wrapper--decorator": "this.hasDecorator", "class.cds--list-box__wrapper--fluid": "this.fluid" } }, providers: [
858
+ Dropdown.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: Dropdown, selector: "cds-dropdown, ibm-dropdown", inputs: { id: "id", label: "label", hideLabel: "hideLabel", helperText: "helperText", decorator: "decorator", placeholder: "placeholder", displayValue: "displayValue", clearText: "clearText", size: "size", type: "type", theme: "theme", disabled: "disabled", readonly: "readonly", skeleton: "skeleton", inline: "inline", disableArrowKeys: "disableArrowKeys", invalid: "invalid", invalidText: "invalidText", warn: "warn", warnText: "warnText", appendInline: "appendInline", scrollableContainer: "scrollableContainer", itemValueKey: "itemValueKey", selectionFeedback: "selectionFeedback", menuButtonLabel: "menuButtonLabel", selectedLabel: "selectedLabel", dropUp: "dropUp", allowNullValues: "allowNullValues", fluid: "fluid" }, outputs: { selected: "selected", onClose: "onClose", close: "close" }, host: { listeners: { "keydown": "onKeyDown($event)" }, properties: { "class.cds--list-box__wrapper--fluid--invalid": "this.fluidInvalidClass", "class.cds--list-box__wrapper--fluid--focus": "this.fluidFocusClass", "class.cds--list-box__wrapper--decorator": "this.hasDecorator", "class.cds--dropdown__wrapper": "this.hostClass", "class.cds--list-box__wrapper": "this.hostWrapperClass", "class.cds--list-box__wrapper--fluid": "this.fluid" } }, providers: [
859
859
  {
860
860
  provide: NG_VALUE_ACCESSOR,
861
861
  useExisting: Dropdown,
@@ -1135,6 +1135,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
1135
1135
  }], fluidFocusClass: [{
1136
1136
  type: HostBinding,
1137
1137
  args: ["class.cds--list-box__wrapper--fluid--focus"]
1138
+ }], hasDecorator: [{
1139
+ type: HostBinding,
1140
+ args: ["class.cds--list-box__wrapper--decorator"]
1138
1141
  }], id: [{
1139
1142
  type: Input
1140
1143
  }], label: [{
@@ -1212,9 +1215,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
1212
1215
  }], hostWrapperClass: [{
1213
1216
  type: HostBinding,
1214
1217
  args: ["class.cds--list-box__wrapper"]
1215
- }], hasDecorator: [{
1216
- type: HostBinding,
1217
- args: ["class.cds--list-box__wrapper--decorator"]
1218
1218
  }], fluid: [{
1219
1219
  type: HostBinding,
1220
1220
  args: ["class.cds--list-box__wrapper--fluid"]