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.
- package/combobox/combobox.component.d.ts +1 -1
- package/datepicker/datepicker.component.d.ts +1 -1
- package/docs/documentation/components/ComboBox.html +49 -49
- package/docs/documentation/components/DatePicker.html +34 -34
- package/docs/documentation/components/Dropdown.html +161 -160
- package/docs/documentation/components/ProgressIndicator.html +13 -9
- package/docs/documentation/components/Toast.html +5 -5
- package/docs/documentation/coverage.html +36 -0
- package/docs/documentation/interfaces/ActionableContent.html +2 -2
- package/docs/documentation/interfaces/NotificationAction.html +2 -2
- package/docs/documentation/interfaces/NotificationContent.html +2 -2
- package/docs/documentation/interfaces/NotificationLink.html +2 -2
- package/docs/documentation/interfaces/ToastContent.html +14 -2
- package/docs/documentation/js/menu-wc_es5.js +1 -1
- package/docs/documentation/js/search/search_index.js +2 -2
- package/docs/documentation/miscellaneous/functions.html +257 -1
- package/docs/documentation/modules/CheckboxModule/dependencies.svg +42 -42
- package/docs/documentation/modules/CheckboxModule.html +42 -42
- package/docs/documentation/modules/CodeSnippetModule/dependencies.svg +4 -4
- package/docs/documentation/modules/CodeSnippetModule.html +4 -4
- package/docs/documentation/modules/ComboBoxModule/dependencies.svg +6 -6
- package/docs/documentation/modules/ComboBoxModule.html +6 -6
- package/docs/documentation/modules/ContentSwitcherModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ContentSwitcherModule.html +4 -4
- package/docs/documentation/modules/ContextMenuModule/dependencies.svg +67 -67
- package/docs/documentation/modules/ContextMenuModule.html +67 -67
- package/docs/documentation/modules/DatePickerInputModule/dependencies.svg +4 -4
- package/docs/documentation/modules/DatePickerInputModule.html +4 -4
- package/docs/documentation/modules/DatePickerModule/dependencies.svg +6 -6
- package/docs/documentation/modules/DatePickerModule.html +6 -6
- package/docs/documentation/modules/DialogModule/dependencies.svg +33 -33
- package/docs/documentation/modules/DialogModule.html +33 -33
- package/docs/documentation/modules/DocumentationModule/dependencies.svg +4 -4
- package/docs/documentation/modules/DocumentationModule.html +4 -4
- package/docs/documentation/modules/DropdownModule/dependencies.svg +68 -68
- package/docs/documentation/modules/DropdownModule.html +68 -68
- package/docs/documentation/modules/GridModule/dependencies.svg +64 -64
- package/docs/documentation/modules/GridModule.html +64 -64
- package/docs/documentation/modules/HeaderModule/dependencies.svg +4 -4
- package/docs/documentation/modules/HeaderModule.html +4 -4
- package/docs/documentation/modules/I18nModule/dependencies.svg +4 -4
- package/docs/documentation/modules/I18nModule.html +4 -4
- package/docs/documentation/modules/InputModule/dependencies.svg +4 -4
- package/docs/documentation/modules/InputModule.html +4 -4
- package/docs/documentation/modules/LayoutModule/dependencies.svg +4 -4
- package/docs/documentation/modules/LayoutModule.html +4 -4
- package/docs/documentation/modules/LinkModule/dependencies.svg +4 -4
- package/docs/documentation/modules/LinkModule.html +4 -4
- package/docs/documentation/modules/ListModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ListModule.html +4 -4
- package/docs/documentation/modules/LoadingModule/dependencies.svg +4 -4
- package/docs/documentation/modules/LoadingModule.html +4 -4
- package/docs/documentation/modules/MenuButtonModule/dependencies.svg +4 -4
- package/docs/documentation/modules/MenuButtonModule.html +4 -4
- package/docs/documentation/modules/ModalModule/dependencies.svg +116 -116
- package/docs/documentation/modules/ModalModule.html +116 -116
- package/docs/documentation/modules/NotificationModule/dependencies.svg +124 -124
- package/docs/documentation/modules/NotificationModule.html +124 -124
- package/docs/documentation/modules/PaginationModule/dependencies.svg +4 -4
- package/docs/documentation/modules/PaginationModule.html +4 -4
- package/docs/documentation/modules/PanelModule/dependencies.svg +36 -36
- package/docs/documentation/modules/PanelModule.html +36 -36
- package/docs/documentation/modules/ProgressBarModule/dependencies.svg +12 -12
- package/docs/documentation/modules/ProgressBarModule.html +12 -12
- package/docs/documentation/modules/ProgressIndicatorModule/dependencies.svg +4 -4
- package/docs/documentation/modules/ProgressIndicatorModule.html +4 -4
- package/docs/documentation/modules/RadioModule/dependencies.svg +47 -47
- package/docs/documentation/modules/RadioModule.html +47 -47
- package/docs/documentation/modules/SearchModule/dependencies.svg +45 -49
- package/docs/documentation/modules/SearchModule.html +45 -49
- package/docs/documentation/modules/SelectModule/dependencies.svg +58 -58
- package/docs/documentation/modules/SelectModule.html +58 -58
- package/docs/documentation/modules/SliderModule/dependencies.svg +46 -42
- package/docs/documentation/modules/SliderModule.html +46 -42
- package/docs/documentation/modules/StructuredListModule/dependencies.svg +69 -69
- package/docs/documentation/modules/StructuredListModule.html +69 -69
- package/docs/documentation/modules/TabsModule/dependencies.svg +41 -41
- package/docs/documentation/modules/TabsModule.html +41 -41
- 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 +108 -108
- package/docs/documentation/modules/TilesModule.html +108 -108
- package/docs/documentation/modules/TimePickerModule/dependencies.svg +45 -41
- package/docs/documentation/modules/TimePickerModule.html +45 -41
- package/docs/documentation/modules/TimePickerSelectModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TimePickerSelectModule.html +4 -4
- package/docs/documentation/modules/ToggleModule/dependencies.svg +37 -41
- package/docs/documentation/modules/ToggleModule.html +37 -41
- package/docs/documentation/modules/ToggletipModule/dependencies.svg +39 -39
- package/docs/documentation/modules/ToggletipModule.html +39 -39
- package/docs/documentation/modules/TooltipModule/dependencies.svg +4 -4
- package/docs/documentation/modules/TooltipModule.html +4 -4
- package/docs/documentation/modules/TreeviewModule/dependencies.svg +30 -30
- package/docs/documentation/modules/TreeviewModule.html +30 -30
- package/docs/documentation.json +144 -649
- package/docs/storybook/{3224.14e2c79a.iframe.bundle.js → 3224.3c2075c3.iframe.bundle.js} +1 -1
- package/docs/storybook/{901.49ee92eb.iframe.bundle.js → 901.f208c589.iframe.bundle.js} +1 -1
- package/docs/storybook/{combobox-combobox-stories.e3d08f7d.iframe.bundle.js → combobox-combobox-stories.49ceebb5.iframe.bundle.js} +1 -1
- package/docs/storybook/{datepicker-datepicker-stories.559a71ec.iframe.bundle.js → datepicker-datepicker-stories.71ef84d0.iframe.bundle.js} +1 -1
- package/docs/storybook/iframe.html +12 -3
- package/docs/storybook/index.html +35 -39
- package/docs/storybook/main.ca0a416e.iframe.bundle.js +1 -0
- 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
- 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
- package/docs/storybook/{patterns-loading-large-loading-stories.e6ae3e31.iframe.bundle.js → patterns-loading-large-loading-stories.564e9ea6.iframe.bundle.js} +1 -1
- package/docs/storybook/{progress-indicator-progress-indicator-stories.dae29927.iframe.bundle.js → progress-indicator-progress-indicator-stories.f7da9e42.iframe.bundle.js} +1 -1
- package/docs/storybook/project.json +1 -1
- package/docs/storybook/{runtime~main.b11c471e.iframe.bundle.js → runtime~main.a709e446.iframe.bundle.js} +1 -1
- package/docs/storybook/sb-addons/essentials-controls-1/manager-bundle.js +31 -31
- package/dropdown/dropdown.component.d.ts +3 -3
- package/esm2020/combobox/combobox.component.mjs +5 -5
- package/esm2020/datepicker/datepicker.component.mjs +9 -9
- package/esm2020/dropdown/dropdown.component.mjs +13 -13
- package/esm2020/notification/notification-content.interface.mjs +1 -1
- package/esm2020/notification/toast.component.mjs +5 -5
- package/esm2020/progress-indicator/progress-indicator.component.mjs +8 -5
- package/fesm2015/carbon-components-angular-combobox.mjs +4 -4
- package/fesm2015/carbon-components-angular-combobox.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-datepicker.mjs +8 -8
- package/fesm2015/carbon-components-angular-datepicker.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-dropdown.mjs +12 -12
- package/fesm2015/carbon-components-angular-dropdown.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-notification.mjs +4 -4
- package/fesm2015/carbon-components-angular-notification.mjs.map +1 -1
- package/fesm2015/carbon-components-angular-progress-indicator.mjs +7 -4
- package/fesm2015/carbon-components-angular-progress-indicator.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-combobox.mjs +4 -4
- package/fesm2020/carbon-components-angular-combobox.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-datepicker.mjs +8 -8
- package/fesm2020/carbon-components-angular-datepicker.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-dropdown.mjs +12 -12
- package/fesm2020/carbon-components-angular-dropdown.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-notification.mjs +4 -4
- package/fesm2020/carbon-components-angular-notification.mjs.map +1 -1
- package/fesm2020/carbon-components-angular-progress-indicator.mjs +7 -4
- package/fesm2020/carbon-components-angular-progress-indicator.mjs.map +1 -1
- package/notification/notification-content.interface.d.ts +2 -2
- package/package.json +1 -1
- 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--
|
|
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"]
|