ms-design-system 0.0.33 → 0.0.34
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/package.json
CHANGED
|
@@ -50,24 +50,18 @@ interface DropdownItem {
|
|
|
50
50
|
declare class MsDropdown {
|
|
51
51
|
private el;
|
|
52
52
|
text: string;
|
|
53
|
-
size: string;
|
|
54
|
-
variant: string;
|
|
55
53
|
isDisabled: boolean;
|
|
56
54
|
set items(value: DropdownItem[]);
|
|
57
55
|
icon?: string;
|
|
58
56
|
iconPosition: 'prefix' | 'suffix';
|
|
59
|
-
iconOnly: boolean;
|
|
60
57
|
btnWidth: string;
|
|
61
58
|
btnMinWidth: string;
|
|
62
59
|
btnMaxWidth: string;
|
|
63
60
|
closeOnSelect: boolean;
|
|
64
61
|
closeOnClickOutside: boolean;
|
|
65
62
|
selectedItem?: string;
|
|
66
|
-
showSelected: boolean;
|
|
67
63
|
allowMultiple: boolean;
|
|
68
|
-
textColor: string;
|
|
69
64
|
maxHeight: string;
|
|
70
|
-
scrollable: boolean;
|
|
71
65
|
loading: boolean;
|
|
72
66
|
error: boolean;
|
|
73
67
|
ariaLabel: string;
|
|
@@ -76,12 +70,9 @@ declare class MsDropdown {
|
|
|
76
70
|
noResultsText: string;
|
|
77
71
|
customClass: string;
|
|
78
72
|
dropdownMenuClass: string;
|
|
79
|
-
fontSize: string;
|
|
80
|
-
fontWeight: string;
|
|
81
73
|
dropdownMenuWidth: string;
|
|
82
74
|
showFlagImage: boolean;
|
|
83
75
|
multiSelectDisplay: 'count' | 'text' | 'count+text' | 'tags' | 'none';
|
|
84
|
-
showTags: boolean;
|
|
85
76
|
inputPlaceholder: string;
|
|
86
77
|
inputLabel: string;
|
|
87
78
|
inputErrorState: boolean;
|
|
@@ -122,7 +113,7 @@ declare class MsDropdown {
|
|
|
122
113
|
toggleHiddenTags(): void;
|
|
123
114
|
close(): void;
|
|
124
115
|
static ɵfac: i0.ɵɵFactoryDeclaration<MsDropdown, never>;
|
|
125
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MsDropdown, "ms-dropdown", never, { "text": { "alias": "text"; "required": false; }; "
|
|
116
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MsDropdown, "ms-dropdown", never, { "text": { "alias": "text"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "items": { "alias": "items"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "btnWidth": { "alias": "btnWidth"; "required": false; }; "btnMinWidth": { "alias": "btnMinWidth"; "required": false; }; "btnMaxWidth": { "alias": "btnMaxWidth"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "closeOnClickOutside": { "alias": "closeOnClickOutside"; "required": false; }; "selectedItem": { "alias": "selectedItem"; "required": false; }; "allowMultiple": { "alias": "allowMultiple"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "error": { "alias": "error"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "noResultsText": { "alias": "noResultsText"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "dropdownMenuClass": { "alias": "dropdownMenuClass"; "required": false; }; "dropdownMenuWidth": { "alias": "dropdownMenuWidth"; "required": false; }; "showFlagImage": { "alias": "showFlagImage"; "required": false; }; "multiSelectDisplay": { "alias": "multiSelectDisplay"; "required": false; }; "inputPlaceholder": { "alias": "inputPlaceholder"; "required": false; }; "inputLabel": { "alias": "inputLabel"; "required": false; }; "inputErrorState": { "alias": "inputErrorState"; "required": false; }; "inputWarningState": { "alias": "inputWarningState"; "required": false; }; "inputFocusState": { "alias": "inputFocusState"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "selectionChange": "selectionChange"; }, never, never, true, never>;
|
|
126
117
|
}
|
|
127
118
|
|
|
128
119
|
declare class MsCheckbox implements ControlValueAccessor, Validator {
|
|
@@ -281,7 +272,7 @@ declare class MsInputField implements ControlValueAccessor {
|
|
|
281
272
|
value: string;
|
|
282
273
|
minValue: any;
|
|
283
274
|
maxValue: any;
|
|
284
|
-
prefix:
|
|
275
|
+
prefix: any;
|
|
285
276
|
change: EventEmitter<Event>;
|
|
286
277
|
focus: EventEmitter<Event>;
|
|
287
278
|
blur: EventEmitter<Event>;
|
|
@@ -354,6 +345,7 @@ declare class MsTextArea {
|
|
|
354
345
|
blur: EventEmitter<Event>;
|
|
355
346
|
private onChange;
|
|
356
347
|
private onTouched;
|
|
348
|
+
ngOnInit(): void;
|
|
357
349
|
writeValue(val: any): void;
|
|
358
350
|
registerOnChange(fn: any): void;
|
|
359
351
|
registerOnTouched(fn: any): void;
|