@coolon/angular-ui-powerups 16.1.0-alpha.259 → 16.1.0-alpha.262

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.
@@ -4,7 +4,8 @@ export declare class IconComponent {
4
4
  _icon: string;
5
5
  prefix: string;
6
6
  suffix: string;
7
- errorMessage: string;
7
+ /** Undefined when the icon is fine — see describeProblemWith. */
8
+ errorMessage: string | undefined;
8
9
  allowedPrefixes: string[];
9
10
  iconPrefix: {
10
11
  SVG: "svg";
@@ -14,6 +15,16 @@ export declare class IconComponent {
14
15
  set icon(iconName: string);
15
16
  get icon(): string;
16
17
  get faIcon(): string;
18
+ /**
19
+ * The tooltip on the bug_report fallback, or undefined when the icon is fine.
20
+ *
21
+ * Note this only catches a missing or unrecognised *prefix* — a known prefix with a name that
22
+ * doesn't exist ("mat:no_such_icon") renders down its normal branch and cannot be detected
23
+ * without asking Material's registry. The message this used to build for that case was
24
+ * unreachable: it was assigned and then unconditionally overwritten on the next line, so every
25
+ * icon, valid ones included, ended up carrying the unknown-prefix text.
26
+ */
27
+ private describeProblemWith;
17
28
  static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
18
29
  static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "aup-icon", never, { "icon": { "alias": "icon"; "required": false; }; }, {}, never, never, false, never>;
19
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "16.1.0-alpha.259",
3
+ "version": "16.1.0-alpha.262",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^16.2.9",
6
6
  "@angular/common": "^16.2.9",
@@ -12,7 +12,7 @@
12
12
  "@angular/platform-browser-dynamic": "^16.2.9",
13
13
  "@angular/material-moment-adapter": "^16.2.10",
14
14
  "@angular/router": "^16.2.9",
15
- "@coolon/pectin": "^5.0.0-alpha.129",
15
+ "@coolon/pectin": "^5.0.0-alpha.131",
16
16
  "fast-typescript-memoize": "^1.1.1",
17
17
  "lodash-es": "^4.17.21",
18
18
  "marked": "4.0.10",