@underlayerdev/ui 0.18.0 → 0.18.1
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
|
@@ -1395,6 +1395,11 @@ export declare class DropdownComponent {
|
|
|
1395
1395
|
* @default 'Open menu'
|
|
1396
1396
|
*/
|
|
1397
1397
|
iconOnlyLabel: import("@angular/core").InputSignal<string>;
|
|
1398
|
+
/**
|
|
1399
|
+
* What the trigger says while no item is selected, i.e. `selectedIndex` points at none
|
|
1400
|
+
* (-1). Without it the trigger shows the first item as if it were selected.
|
|
1401
|
+
*/
|
|
1402
|
+
placeholder: import("@angular/core").InputSignal<string | undefined>;
|
|
1398
1403
|
/**
|
|
1399
1404
|
* The index of the currently selected item.
|
|
1400
1405
|
* Supports two-way binding with [(selectedIndex)].
|
|
@@ -1479,6 +1484,11 @@ export declare class DropdownComponent {
|
|
|
1479
1484
|
"required": false;
|
|
1480
1485
|
"isSignal": true;
|
|
1481
1486
|
};
|
|
1487
|
+
"placeholder": {
|
|
1488
|
+
"alias": "placeholder";
|
|
1489
|
+
"required": false;
|
|
1490
|
+
"isSignal": true;
|
|
1491
|
+
};
|
|
1482
1492
|
"selectedIndex": {
|
|
1483
1493
|
"alias": "selectedIndex";
|
|
1484
1494
|
"required": false;
|
|
@@ -3776,8 +3786,12 @@ export declare class SelectComponent implements FormValueControl<string | null>
|
|
|
3776
3786
|
protected readonly hasError: import("@angular/core").Signal<boolean>;
|
|
3777
3787
|
protected readonly describedBy: import("@angular/core").Signal<string | undefined>;
|
|
3778
3788
|
constructor();
|
|
3779
|
-
/**
|
|
3780
|
-
|
|
3789
|
+
/**
|
|
3790
|
+
* Handles a pick in the dropdown. Listens to the pick itself rather than to a change of
|
|
3791
|
+
* index: choosing the option that sits where the index already is (the first one, while
|
|
3792
|
+
* nothing is selected) changes no index, and so would never be picked.
|
|
3793
|
+
*/
|
|
3794
|
+
protected onItemSelected(item: DropdownItem): void;
|
|
3781
3795
|
protected onDropdownClosed(): void;
|
|
3782
3796
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
3783
3797
|
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "ul-select", never, {
|