@inbeat/ui 0.12.0 → 0.12.1

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
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.12.1](https://github.com/Genoux/ib-toolkit/compare/ui-v0.12.0...ui-v0.12.1) (2026-10-15)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **ui:** show members without photos in avatar stack ([#62](https://github.com/Genoux/ib-toolkit/issues/62)) ([46f6011](https://github.com/Genoux/ib-toolkit/commit/46f60117a685ef24d7c06a3652d7bde5ad4894bc))
9
+
3
10
  ## [0.12.0](https://github.com/Genoux/ib-toolkit/compare/ui-v0.11.3...ui-v0.12.0) (2026-10-13)
4
11
 
5
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inbeat/ui",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "inBeat design tokens and primitives (Radix + Tailwind v4), shipped as source",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -64,7 +64,7 @@
64
64
  "@base-ui/react": "^1.2.0",
65
65
  "@fontsource-variable/geist": "^5.3.0",
66
66
  "@fontsource-variable/geist-mono": "^5.3.0",
67
- "@inbeat/config": "^0.12.0",
67
+ "@inbeat/config": "^0.12.1",
68
68
  "@storybook/addon-a11y": "^10.6.0",
69
69
  "@storybook/addon-docs": "^10.6.0",
70
70
  "@storybook/addon-themes": "^10.6.0",
@@ -36,7 +36,7 @@ function AvatarFallback({
36
36
  <AvatarPrimitive.Fallback
37
37
  data-slot="avatar-fallback"
38
38
  className={cn(
39
- "flex size-full items-center justify-center rounded-full bg-muted font-medium text-foreground transition-colors duration-100 group-hover:bg-black/5",
39
+ "flex size-full items-center justify-center rounded-full bg-muted font-medium text-foreground transition-colors duration-100 group-hover:bg-[color-mix(in_oklab,var(--muted),black_5%)]",
40
40
  className,
41
41
  )}
42
42
  {...props}
@@ -19,11 +19,7 @@ export function MemberAvatarStack({ members }: { members?: MemberAvatarProfile[]
19
19
  </div>
20
20
  );
21
21
 
22
- const shown = visibleMembers
23
- .filter((m): m is MemberAvatarProfile & { name: string; imageUrl: string } =>
24
- Boolean(m.name && m.imageUrl),
25
- )
26
- .slice(0, 3);
22
+ const shown = visibleMembers.slice(0, 3);
27
23
  const extra = visibleMembers.length - shown.length;
28
24
 
29
25
  return (
@@ -32,7 +28,7 @@ export function MemberAvatarStack({ members }: { members?: MemberAvatarProfile[]
32
28
  <PersonAvatar
33
29
  key={m.id}
34
30
  imageUrl={m.imageUrl}
35
- name={m.name}
31
+ name={m.name ?? ""}
36
32
  fallbackClassName="text-[8px]"
37
33
  />
38
34
  ))}