@ascentgl/ads-ui 21.91.0 → 21.92.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": "@ascentgl/ads-ui",
3
- "version": "21.91.0",
3
+ "version": "21.92.0",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": ">=21.0.0",
6
6
  "date-fns": ">=4.1.0",
@@ -230,7 +230,7 @@ declare class AdsButtonModule {
230
230
 
231
231
  declare class AdsButtonContainerComponent {
232
232
  /** How buttons in the container should be placed */
233
- justify: i0.InputSignal<"center" | "flex-start" | "flex-end">;
233
+ justify: i0.InputSignal<"flex-start" | "flex-end" | "center">;
234
234
  /** The gap between elements */
235
235
  gap: i0.InputSignal<number>;
236
236
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsButtonContainerComponent, never>;
@@ -1435,6 +1435,9 @@ declare class AdsMultiSelectDropdownComponent extends AdsDropdownComponent imple
1435
1435
  showChips: boolean;
1436
1436
  /** If true, adds a "Select All" option as the first item in the dropdown */
1437
1437
  showSelectAll: boolean;
1438
+ /** When true (default), options with empty values ('', null, undefined) are disabled.
1439
+ * When false, empty value options are enabled and display as "No Value" chips when selected. */
1440
+ disableEmptyValue: boolean;
1438
1441
  /** @ignore - Cached list of real option keys */
1439
1442
  private realOptionKeys;
1440
1443
  /** @ignore - FormControl for the Select All checkbox visual state */
@@ -1457,8 +1460,14 @@ declare class AdsMultiSelectDropdownComponent extends AdsDropdownComponent imple
1457
1460
  toggleOption(option: DropdownComponentOption): void;
1458
1461
  /** @ignore */
1459
1462
  protected mapControlValue(control?: FormControl): void;
1463
+ /** @ignore - Check if an option represents an empty value */
1464
+ isEmptyOption(option: DropdownComponentOption): boolean;
1465
+ /** @ignore - Get display label for an option, returning "No Value" for empty options */
1466
+ getOptionDisplayLabel(option: DropdownComponentOption): string | undefined;
1467
+ /** @ignore - Override to show "No Value" chip for empty options */
1468
+ chipName(option: DropdownComponentOption): string;
1460
1469
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsMultiSelectDropdownComponent, never>;
1461
- static ɵcmp: i0.ɵɵComponentDeclaration<AdsMultiSelectDropdownComponent, "ads-multi-select-dropdown", never, { "showChips": { "alias": "showChips"; "required": false; }; "showSelectAll": { "alias": "showSelectAll"; "required": false; }; }, {}, never, never, false, never>;
1470
+ static ɵcmp: i0.ɵɵComponentDeclaration<AdsMultiSelectDropdownComponent, "ads-multi-select-dropdown", never, { "showChips": { "alias": "showChips"; "required": false; }; "showSelectAll": { "alias": "showSelectAll"; "required": false; }; "disableEmptyValue": { "alias": "disableEmptyValue"; "required": false; }; }, {}, never, never, false, never>;
1462
1471
  }
1463
1472
 
1464
1473
  declare class AdsMultiSelectDropdownModule {
@@ -2564,7 +2573,7 @@ declare class AdsExpansionPanelComponent implements AfterContentInit {
2564
2573
  /** Component width. Must include units of measure: px, %, em, rem, etc. */
2565
2574
  width: i0.InputSignal<string>;
2566
2575
  /** The Chevron Icon size () */
2567
- chevronSize: i0.InputSignal<"xs" | "base">;
2576
+ chevronSize: i0.InputSignal<"base" | "xs">;
2568
2577
  /** Header padding size () */
2569
2578
  headerPadding: i0.InputSignal<string>;
2570
2579
  /** Content padding size () */
@@ -2758,7 +2767,7 @@ declare class AdsSortMenuComponent implements OnChanges, OnDestroy {
2758
2767
  /** All column sort/filter configs (all possible columns) */
2759
2768
  columnSortFilterConfigs: ColumnSortFilterConfig[];
2760
2769
  /** Current column sort states from the table */
2761
- columnSortStates: Map<string, "asc" | "desc" | null>;
2770
+ columnSortStates: Map<string, "desc" | "asc" | null>;
2762
2771
  /** Emits when sort configuration changes (order or direction) */
2763
2772
  sortChanged: EventEmitter<SortMenuChangeEvent>;
2764
2773
  /** Emits when sorts are removed for columns */
@@ -2930,7 +2939,7 @@ declare class AdsTableComponent implements AfterViewInit, AfterViewChecked, OnCh
2930
2939
  values: string[];
2931
2940
  }>;
2932
2941
  /** Event emitted when view mode changes between grid and list */
2933
- viewChanged: EventEmitter<"grid" | "list">;
2942
+ viewChanged: EventEmitter<"list" | "grid">;
2934
2943
  /** @ignore - Current view mode: grid or list */
2935
2944
  isListView: i0.WritableSignal<boolean>;
2936
2945
  /** @ignore - Number of list rows currently rendered (grows in batches) */
@@ -2974,7 +2983,7 @@ declare class AdsTableComponent implements AfterViewInit, AfterViewChecked, OnCh
2974
2983
  /** @ignore */
2975
2984
  activeColumnMenu: i0.WritableSignal<string | null>;
2976
2985
  /** @ignore */
2977
- columnSortStates: i0.WritableSignal<Map<string, "asc" | "desc" | null>>;
2986
+ columnSortStates: i0.WritableSignal<Map<string, "desc" | "asc" | null>>;
2978
2987
  /** @ignore */
2979
2988
  columnFilterStates: i0.WritableSignal<Map<string, string[]>>;
2980
2989
  /** @ignore */