@ascentgl/ads-ui 20.17.0 → 20.19.0
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/fesm2022/ascentgl-ads-ui.mjs +80 -16
- package/fesm2022/ascentgl-ads-ui.mjs.map +1 -1
- package/index.d.ts +10 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -135,7 +135,7 @@ declare class AdsNumericBadgeComponent extends AdsIconHoverComponent {
|
|
|
135
135
|
/** provide icon name. NOTE: the icon must be registered in icon registry **/
|
|
136
136
|
name: i0.InputSignal<adsIcon>;
|
|
137
137
|
/** choose ads icon theme **/
|
|
138
|
-
theme: i0.InputSignal<"
|
|
138
|
+
theme: i0.InputSignal<"primary" | "iconPrimary" | "success" | "warn" | "white">;
|
|
139
139
|
/** set badge value as number **/
|
|
140
140
|
value: i0.InputSignal<number>;
|
|
141
141
|
/** @ignore **/
|
|
@@ -209,7 +209,7 @@ declare class AdsButtonComponent {
|
|
|
209
209
|
/** Whether the button is a smaller version */
|
|
210
210
|
size: i0.InputSignal<Size>;
|
|
211
211
|
/** Sets the "type" attribute on the button */
|
|
212
|
-
type: i0.InputSignal<"
|
|
212
|
+
type: i0.InputSignal<"submit" | "button" | "reset">;
|
|
213
213
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsButtonComponent, never>;
|
|
214
214
|
static ɵcmp: i0.ɵɵComponentDeclaration<AdsButtonComponent, "ads-button", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
215
215
|
}
|
|
@@ -222,7 +222,7 @@ declare class AdsButtonModule {
|
|
|
222
222
|
|
|
223
223
|
declare class AdsButtonContainerComponent {
|
|
224
224
|
/** How buttons in the container should be placed */
|
|
225
|
-
justify: i0.InputSignal<"
|
|
225
|
+
justify: i0.InputSignal<"center" | "flex-start" | "flex-end">;
|
|
226
226
|
/** The gap between elements */
|
|
227
227
|
gap: i0.InputSignal<number>;
|
|
228
228
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsButtonContainerComponent, never>;
|
|
@@ -1153,6 +1153,8 @@ declare abstract class AbstractDropdownComponent extends AbstractInputComponent
|
|
|
1153
1153
|
fitContent: boolean;
|
|
1154
1154
|
/** Set to true if you want to enable option tooltip */
|
|
1155
1155
|
showTooltip?: boolean;
|
|
1156
|
+
/** Set to true to wrap option text to new line when there's not enough space */
|
|
1157
|
+
wrapOptionText: boolean;
|
|
1156
1158
|
/** @ignore */
|
|
1157
1159
|
displayedOptions: DropdownComponentDisplayedOptions;
|
|
1158
1160
|
/** @ignore */
|
|
@@ -1180,7 +1182,7 @@ declare abstract class AbstractDropdownComponent extends AbstractInputComponent
|
|
|
1180
1182
|
/** @ignore */
|
|
1181
1183
|
protected getGenericDisplayedValue(option: DropdownComponentOption): string;
|
|
1182
1184
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDropdownComponent, never>;
|
|
1183
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDropdownComponent, never, never, { "displayValueKey": { "alias": "displayValueKey"; "required": false; }; "sortOptions": { "alias": "sortOptions"; "required": false; }; "fitContent": { "alias": "fitContent"; "required": false; }; "showTooltip": { "alias": "showTooltip"; "required": false; }; }, {}, never, never, true, never>;
|
|
1185
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDropdownComponent, never, never, { "displayValueKey": { "alias": "displayValueKey"; "required": false; }; "sortOptions": { "alias": "sortOptions"; "required": false; }; "fitContent": { "alias": "fitContent"; "required": false; }; "showTooltip": { "alias": "showTooltip"; "required": false; }; "wrapOptionText": { "alias": "wrapOptionText"; "required": false; }; }, {}, never, never, true, never>;
|
|
1184
1186
|
}
|
|
1185
1187
|
|
|
1186
1188
|
declare class AdsDropdownComponent extends AbstractDropdownComponent implements OnChanges {
|
|
@@ -1719,6 +1721,10 @@ declare class AdsSearchDropdownComponent extends AbstractDropdownComponent imple
|
|
|
1719
1721
|
key: DropdownComponentOption;
|
|
1720
1722
|
value: string;
|
|
1721
1723
|
}): string;
|
|
1724
|
+
/** @ignore */
|
|
1725
|
+
private setupTextareaAutoResize;
|
|
1726
|
+
/** @ignore */
|
|
1727
|
+
private autoResizeTextarea;
|
|
1722
1728
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsSearchDropdownComponent, never>;
|
|
1723
1729
|
static ɵcmp: i0.ɵɵComponentDeclaration<AdsSearchDropdownComponent, "ads-search-dropdown", never, { "externalButton": { "alias": "externalButton"; "required": false; "isSignal": true; }; "maxlength": { "alias": "maxlength"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "options": { "alias": "options"; "required": false; }; "staticOptions": { "alias": "staticOptions"; "required": false; }; "filterOptions": { "alias": "filterOptions"; "required": false; }; "emitEmptyValues": { "alias": "emitEmptyValues"; "required": false; }; "loadSuggestionOnInit": { "alias": "loadSuggestionOnInit"; "required": false; }; "noDataOption": { "alias": "noDataOption"; "required": false; }; "moreDataOption": { "alias": "moreDataOption"; "required": false; }; "staticDataOption": { "alias": "staticDataOption"; "required": false; }; "onEnterKeyDown": { "alias": "onEnterKeyDown"; "required": false; }; "searchIconClickCallback": { "alias": "searchIconClickCallback"; "required": false; }; "displayValueFormatter": { "alias": "displayValueFormatter"; "required": false; }; "useOptionTemplate": { "alias": "useOptionTemplate"; "required": false; }; "minValueLength": { "alias": "minValueLength"; "required": false; }; "preventClick": { "alias": "preventClick"; "required": false; }; "closePanelEnabled": { "alias": "closePanelEnabled"; "required": false; }; "trimValue": { "alias": "trimValue"; "required": false; }; "control": { "alias": "control"; "required": false; }; "errorMessages": { "alias": "errorMessages"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "externalButtonClick": "externalButtonClick"; "focusInput": "focusInput"; "blurInput": "blurInput"; "emitSearchValueInput": "emitSearchValueInput"; }, ["optionRef"], never, false, never>;
|
|
1724
1730
|
}
|