@forgeroute/ui 0.4.34 → 0.4.35

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": "@forgeroute/ui",
3
- "version": "0.4.34",
3
+ "version": "0.4.35",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=22.0.0",
6
6
  "@angular/core": ">=22.0.0",
@@ -2583,6 +2583,8 @@ export declare class TooltipDirective {
2583
2583
  private readonly host;
2584
2584
  private readonly doc;
2585
2585
  private bubble;
2586
+ /** The host's own `aria-describedby` (e.g. an error id) before the tooltip was added, put back when it closes. */
2587
+ private previousDescribedBy;
2586
2588
  private readonly id;
2587
2589
  constructor();
2588
2590
  protected show(): void;
@@ -11672,9 +11674,16 @@ export declare class EmailTemplateEditorComponent {
11672
11674
  readonly nameErrorShown: import("@angular/core").Signal<string>;
11673
11675
  readonly subjectErrorShown: import("@angular/core").Signal<string>;
11674
11676
  readonly bodyErrorShown: import("@angular/core").Signal<string>;
11677
+ /** A template must be assigned to at least one automation (only in an app that offers assignments at all). */
11678
+ readonly assignmentError: import("@angular/core").Signal<"" | "Assign this template to at least one automation.">;
11679
+ /** True once the user has changed an assignment (or tried to save), so the message never shows on a page nobody has touched yet. */
11680
+ readonly assignmentsTouched: import("@angular/core").WritableSignal<boolean>;
11681
+ readonly assignmentErrorShown: import("@angular/core").Signal<"" | "Assign this template to at least one automation.">;
11675
11682
  readonly canSave: import("@angular/core").Signal<boolean>;
11676
- /** Save is offered to members who can write; clicking it while a rule fails shows the messages instead of sending anything. */
11683
+ /** Save is offered to members who can write and stays disabled until every rule passes: a name, a subject, a message with some design (text or an image) and at least one assignment. */
11677
11684
  readonly saveDisabled: import("@angular/core").Signal<boolean>;
11685
+ /** What is still missing, shown as the tooltip of the disabled Save button ('' when Save is available or the member cannot write). */
11686
+ readonly saveHint: import("@angular/core").Signal<string>;
11678
11687
  private normalizedLink;
11679
11688
  /** Why Insert is disabled: nothing for an empty field, a message for an address that is not a link. */
11680
11689
  readonly linkUrlError: import("@angular/core").Signal<"" | "Enter a valid email address." | "Enter a valid web address, like https://example.com.">;