@coolms/ui-react 0.1.0-alpha.17 → 0.1.0-alpha.18

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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to `@coolms/ui-react` are listed here. Versions follow [semantic versioning](https://semver.org/).
4
4
 
5
+ ## 0.1.0-alpha.18 (2026-11-20)
6
+
7
+ A sender's own initials when a service sent on their behalf.
8
+
9
+ - `Avatar` / `initialsOf`: a trailing "via <service>" is left out before the initials are taken, so a message sent on someone's behalf shows the sender's own: "Valentina Zagnetova via LinkedIn" is VZ, not VL. Only a lowercase "via", as relays write it: "Maria Via Rossi" stays MR. Each initial is the word's first letter or digit, so a name in quotes ("'Anna Kowalska' via Partners") is AK.
10
+
5
11
  ## 0.1.0-alpha.17 (2026-11-19)
6
12
 
7
13
  The pane toolbar always reaches More, and two icons of their own.
@@ -40,7 +40,10 @@ export interface AvatarProps {
40
40
  readonly presence?: 'online' | 'away' | 'offline';
41
41
  readonly size?: number;
42
42
  }
43
- /** Up to two initials from a name: "Ada Lovelace" -> "AL", "ada" -> "A". */
43
+ /**
44
+ * Up to two initials from a name: "Ada Lovelace" -> "AL", "ada" -> "A". A sender named for the service that sent on
45
+ * their behalf keeps their own: "Valentina Zagnetova via LinkedIn" -> "VZ".
46
+ */
44
47
  export declare function initialsOf(name: string): string;
45
48
  /** Which of the six avatar tints a name takes: the same name always the same tint. */
46
49
  export declare function tintOf(name: string): number;