@underlayerdev/ui 0.18.0 → 0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@underlayerdev/ui",
3
- "version": "0.18.0",
3
+ "version": "0.19.0",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^22.0.0",
6
6
  "@angular/common": "^22.0.0",
@@ -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;
@@ -2763,6 +2773,12 @@ export declare class PillComponent {
2763
2773
  theme: import("@angular/core").InputSignal<PillTheme>;
2764
2774
  size: import("@angular/core").InputSignal<PillSize>;
2765
2775
  disabled: import("@angular/core").InputSignal<boolean>;
2776
+ /**
2777
+ * Makes an interactive pill a toggle: whether it is on, for assistive technology
2778
+ * (`aria-pressed`). Left unset, the pill is an ordinary button. How "on" looks is up to the
2779
+ * theme the page gives it, and which pills are on is the page's to decide.
2780
+ */
2781
+ pressed: import("@angular/core").InputSignal<boolean | undefined>;
2766
2782
  dismiss: import("@angular/core").OutputEmitterRef<void>;
2767
2783
  dismissibleButtonTheme: import("@angular/core").Signal<"ghost-purple" | "ghost-white" | "ghost-red" | "ghost-green">;
2768
2784
  modifierClass: import("@angular/core").Signal<string[]>;
@@ -2788,6 +2804,11 @@ export declare class PillComponent {
2788
2804
  "required": false;
2789
2805
  "isSignal": true;
2790
2806
  };
2807
+ "pressed": {
2808
+ "alias": "pressed";
2809
+ "required": false;
2810
+ "isSignal": true;
2811
+ };
2791
2812
  }, {
2792
2813
  "dismiss": "dismiss";
2793
2814
  }, never, ["*"], true, never>;
@@ -3776,8 +3797,12 @@ export declare class SelectComponent implements FormValueControl<string | null>
3776
3797
  protected readonly hasError: import("@angular/core").Signal<boolean>;
3777
3798
  protected readonly describedBy: import("@angular/core").Signal<string | undefined>;
3778
3799
  constructor();
3779
- /** Handles index changes coming from the dropdown */
3780
- protected onSelectedIndexChange(index: number): void;
3800
+ /**
3801
+ * Handles a pick in the dropdown. Listens to the pick itself rather than to a change of
3802
+ * index: choosing the option that sits where the index already is (the first one, while
3803
+ * nothing is selected) changes no index, and so would never be picked.
3804
+ */
3805
+ protected onItemSelected(item: DropdownItem): void;
3781
3806
  protected onDropdownClosed(): void;
3782
3807
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
3783
3808
  static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "ul-select", never, {