@masterteam/components 0.0.259 → 0.0.261

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": "@masterteam/components",
3
- "version": "0.0.259",
3
+ "version": "0.0.261",
4
4
  "publishConfig": {
5
5
  "directory": "../../../dist/masterteam/components",
6
6
  "linkDirectory": true,
@@ -83,6 +83,11 @@ interface EntityUserConfig extends EntityBaseConfig {
83
83
  showDisplayName?: boolean;
84
84
  showPhoneNumber?: boolean;
85
85
  showEmail?: boolean;
86
+ /**
87
+ * Whether the user's own picture is rendered. When `false` the avatar stays
88
+ * in place but falls back to the generic user icon instead of `photoUrl`.
89
+ */
90
+ showUserImage?: boolean;
86
91
  /** Maximum users shown before the MultiUser preview collapses behind +N. */
87
92
  maxVisibleUsers?: number;
88
93
  }
@@ -434,6 +439,11 @@ declare class EntityUser {
434
439
  readonly showDisplayName: _angular_core.Signal<boolean>;
435
440
  readonly showPhoneNumber: _angular_core.Signal<boolean>;
436
441
  readonly showEmail: _angular_core.Signal<boolean>;
442
+ /**
443
+ * When off, the avatar falls back to the generic user icon so the layout keeps
444
+ * its shape while the user's real picture stays hidden.
445
+ */
446
+ readonly showUserImage: _angular_core.Signal<boolean>;
437
447
  readonly phoneNumber: _angular_core.Signal<string>;
438
448
  readonly email: _angular_core.Signal<string>;
439
449
  readonly hasContactInfo: _angular_core.Signal<boolean>;
@@ -11,6 +11,8 @@ interface StatisticCardData {
11
11
  * Leave empty/`null` to render the neutral surface accent.
12
12
  */
13
13
  color?: string | null;
14
+ /** Optional info-icon tooltip explaining what the metric counts. */
15
+ tooltip?: string | null;
14
16
  }
15
17
  declare class StatisticCard {
16
18
  readonly data: _angular_core.InputSignal<StatisticCardData>;
@@ -9,6 +9,14 @@ interface OptionItem {
9
9
  badge?: number | string | null;
10
10
  severity?: TabSeverity | null;
11
11
  disabled?: boolean;
12
+ /**
13
+ * The host is still resolving this tab's title — typically it names a record
14
+ * that is being fetched. The label slot renders a placeholder instead of the
15
+ * text, so the tab never flashes a stand-in name before the real one lands.
16
+ * Keep supplying the fallback `label`: it stays the accessible name and is
17
+ * still what the "more" search matches against.
18
+ */
19
+ loading?: boolean;
12
20
  [key: string]: unknown;
13
21
  }
14
22
  type NormalizedTabSeverity = 'primary' | 'secondary' | 'success' | 'info' | 'warn' | 'danger' | 'help' | 'contrast';
@@ -55,6 +63,7 @@ declare class Tabs {
55
63
  resolveIcon(option: OptionItem): MTIcon | null;
56
64
  resolveIconOrDefault(option: OptionItem): MTIcon;
57
65
  resolveBadge(option: OptionItem): number | string | null;
66
+ isOptionLoading(option: OptionItem): boolean;
58
67
  hasBadge(option: OptionItem): boolean;
59
68
  hasCountBadge(option: OptionItem): boolean;
60
69
  severity(option: OptionItem): NormalizedTabSeverity;