@agorapulse/ui-components 22.2.8-beta.1 → 22.2.9

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.
@@ -1,10 +1,10 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { inject, ElementRef, NgZone, input, Directive, ViewEncapsulation, ChangeDetectionStrategy, Component, computed, DestroyRef, TemplateRef } from '@angular/core';
3
- import { NgTemplateOutlet } from '@angular/common';
4
- import DOMPurify from 'dompurify';
5
3
  import { AvatarComponent } from '@agorapulse/ui-components/avatar';
6
4
  import { createFloatingOverlay } from '@agorapulse/ui-components/floating';
7
5
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
6
+ import { NgTemplateOutlet } from '@angular/common';
7
+ import DOMPurify from 'dompurify';
8
8
 
9
9
  /**
10
10
  * Directive that triggers a tooltip to show/hide
@@ -488,5 +488,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
488
488
  * Generated bundle index. Do not edit.
489
489
  */
490
490
 
491
- export { CustomTooltipType, TooltipDirective, TooltipExternalTriggerDirective, TooltipPanelComponent };
491
+ export { CustomTooltipType, TooltipDirective, TooltipExternalTriggerDirective };
492
492
  //# sourceMappingURL=agorapulse-ui-components-tooltip.mjs.map
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.8-beta.1",
4
+ "version": "22.2.9",
5
5
  "author": "Benoit Hediard",
6
6
  "repository": {
7
7
  "type": "git",
@@ -13,7 +13,7 @@
13
13
  "homepage": "https://github.com/agorapulse/design",
14
14
  "peerDependencies": {
15
15
  "@agorapulse/ui-symbol": "^22.0.0",
16
- "@agorapulse/ui-theme": "^22.0.0",
16
+ "@agorapulse/ui-theme": "^22.0.16",
17
17
  "@agorapulse/ui-animations": "^22.0.0",
18
18
  "@angular/cdk": "^22.0.0",
19
19
  "@angular/common": "^22.0.0",
@@ -123,31 +123,5 @@ declare class TooltipExternalTriggerDirective implements AfterViewInit, OnDestro
123
123
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TooltipExternalTriggerDirective, "[apTooltipExternalTrigger]", ["apTooltipExternalTrigger"], { "apTooltipExternalTrigger": { "alias": "apTooltipExternalTrigger"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
124
124
  }
125
125
 
126
- /**
127
- * A tooltip's floating surface, internal to the directive: `role="tooltip"`, no focus handling — taking focus is `ap-popover`'s job.
128
- * `ViewEncapsulation.None` and the `ap-tooltip*` class names stay: the styles are global, and the product overrides them by name.
129
- * The host carries `ap-tooltip` because the engine reads the arrow's colour from the pane's first element child.
130
- */
131
- declare class TooltipPanelComponent {
132
- /** Plain-string content. Sanitised before it reaches the template. */
133
- readonly text: _angular_core.InputSignal<string | undefined>;
134
- /** Consumer template, which takes precedence over `text`. */
135
- readonly template: _angular_core.InputSignal<TemplateRef<HTMLElement> | undefined>;
136
- /** The consumer template's `ngTemplateOutletContext`, read through its `let-` bindings. */
137
- readonly templateContext: _angular_core.InputSignal<object | undefined>;
138
- readonly type: _angular_core.InputSignal<string>;
139
- readonly presentationContext: _angular_core.InputSignal<CustomTooltipPresentationItem | undefined>;
140
- readonly listItems: _angular_core.InputSignal<CustomTooltipAvatarItem[]>;
141
- readonly showCaption: _angular_core.InputSignal<boolean>;
142
- /** Only mirrored onto the host, for the class the product may hook onto. */
143
- readonly clickTriggered: _angular_core.InputSignal<boolean>;
144
- protected readonly isDefaultType: _angular_core.Signal<boolean>;
145
- protected readonly hasTemplate: _angular_core.Signal<boolean>;
146
- /** DOMPurify strips more than the `[innerHTML]` sanitiser that runs after it; neither pass adds anything. */
147
- protected readonly sanitizedText: _angular_core.Signal<string>;
148
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<TooltipPanelComponent, never>;
149
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<TooltipPanelComponent, "ap-tooltip-panel", never, { "text": { "alias": "text"; "required": false; "isSignal": true; }; "template": { "alias": "template"; "required": false; "isSignal": true; }; "templateContext": { "alias": "templateContext"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "presentationContext": { "alias": "presentationContext"; "required": false; "isSignal": true; }; "listItems": { "alias": "listItems"; "required": false; "isSignal": true; }; "showCaption": { "alias": "showCaption"; "required": false; "isSignal": true; }; "clickTriggered": { "alias": "clickTriggered"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
150
- }
151
-
152
- export { CustomTooltipType, TooltipDirective, TooltipExternalTriggerDirective, TooltipPanelComponent };
126
+ export { CustomTooltipType, TooltipDirective, TooltipExternalTriggerDirective };
153
127
  export type { CustomTooltipAvatarItem, CustomTooltipPresentationItem };