@agorapulse/ui-components 22.2.11 → 22.3.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,7 +1,7 @@
1
1
  {
2
2
  "name": "@agorapulse/ui-components",
3
3
  "description": "Agorapulse UI Components Library",
4
- "version": "22.2.11",
4
+ "version": "22.3.0",
5
5
  "author": "Benoit Hediard",
6
6
  "repository": {
7
7
  "type": "git",
@@ -22,7 +22,7 @@
22
22
  "@angular/animations": "^22.0.0",
23
23
  "@floating-ui/dom": "^1.8.0",
24
24
  "@ng-select/ng-select": "^23.0.0",
25
- "@agorapulse/ngx-daterangepicker-material": "^6.0.8",
25
+ "@agorapulse/ngx-daterangepicker-material": "^6.0.9",
26
26
  "dayjs": "^1.11.8",
27
27
  "es-toolkit": "1.39.8",
28
28
  "ngxtension": "7.2.0"
@@ -43,7 +43,8 @@ interface ActionDropdownItem {
43
43
  }
44
44
  /**
45
45
  * A dropdown component that displays a list of actionable items with support for icons,
46
- * badges, tooltips, and keyboard navigation.
46
+ * badges, tooltips, and keyboard navigation. Its width follows its longest label between 180 and
47
+ * 340 px; past 340 px, labels ellipsize.
47
48
  */
48
49
  declare class ActionDropdownComponent implements DropdownOverlay {
49
50
  private readonly symbolRegistry;
@@ -51,10 +52,6 @@ declare class ActionDropdownComponent implements DropdownOverlay {
51
52
  trigger: _angular_core.Signal<TemplateRef<unknown> | undefined>;
52
53
  /** Array of items to display in the dropdown menu */
53
54
  items: _angular_core.InputSignal<ActionDropdownItem[]>;
54
- /** Whether to enable large mode styling for the dropdown */
55
- largeModeEnabled: _angular_core.InputSignal<boolean>;
56
- /** Custom width for the dropdown menu in pixels */
57
- customWidth: _angular_core.InputSignal<number | null>;
58
55
  /** Whether to show a backdrop that closes the dropdown when clicked */
59
56
  showBackdrop: _angular_core.InputSignal<boolean>;
60
57
  /** Whether the dropdown is disabled and cannot be opened */
@@ -85,7 +82,7 @@ declare class ActionDropdownComponent implements DropdownOverlay {
85
82
  /** Enter and Space need nothing: focus is real, so the button fires its own click. Escape belongs to the panel. */
86
83
  onKeyDown(event: KeyboardEvent): void;
87
84
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ActionDropdownComponent, never>;
88
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ActionDropdownComponent, "ap-action-dropdown", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "largeModeEnabled": { "alias": "largeModeEnabled"; "required": false; "isSignal": true; }; "customWidth": { "alias": "customWidth"; "required": false; "isSignal": true; }; "showBackdrop": { "alias": "showBackdrop"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; }, { "opened": "opened"; "closed": "closed"; "itemClick": "itemClick"; }, ["trigger"], never, true, never>;
85
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ActionDropdownComponent, "ap-action-dropdown", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "showBackdrop": { "alias": "showBackdrop"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; }, { "opened": "opened"; "closed": "closed"; "itemClick": "itemClick"; }, ["trigger"], never, true, never>;
89
86
  }
90
87
 
91
88
  /**
@@ -187,6 +187,9 @@ declare class DatepickerComponent implements OnInit, OnChanges, AfterViewInit {
187
187
  * than on a position survives a translated or reordered shortcut.
188
188
  */
189
189
  private chosenPreset;
190
+ /** The vendor's own arrows stop at `minDate`/`maxDate`; ours replace them and must stop there too. */
191
+ get canGoToPreviousMonth(): boolean;
192
+ get canGoToNextMonth(): boolean;
190
193
  onNextMonth(): void;
191
194
  onLeftMonthPicked(picked: DatepickerMonth): void;
192
195
  onRightMonthPicked(picked: DatepickerMonth): void;