@inbeat/ui 0.12.0 → 0.12.2
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,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.12.2](https://github.com/Genoux/ib-toolkit/compare/ui-v0.12.1...ui-v0.12.2) (2026-10-19)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **ui:** plain dim dialog overlays, pretty-wrap descriptions ([#64](https://github.com/Genoux/ib-toolkit/issues/64)) ([c640ef7](https://github.com/Genoux/ib-toolkit/commit/c640ef78becfc03ec7b7e32da16c11b20758eab4))
|
|
9
|
+
|
|
10
|
+
## [0.12.1](https://github.com/Genoux/ib-toolkit/compare/ui-v0.12.0...ui-v0.12.1) (2026-10-15)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **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))
|
|
16
|
+
|
|
3
17
|
## [0.12.0](https://github.com/Genoux/ib-toolkit/compare/ui-v0.11.3...ui-v0.12.0) (2026-10-13)
|
|
4
18
|
|
|
5
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inbeat/ui",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.2",
|
|
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.
|
|
67
|
+
"@inbeat/config": "^0.12.2",
|
|
68
68
|
"@storybook/addon-a11y": "^10.6.0",
|
|
69
69
|
"@storybook/addon-docs": "^10.6.0",
|
|
70
70
|
"@storybook/addon-themes": "^10.6.0",
|
|
@@ -79,7 +79,7 @@ function AlertDialogContent({
|
|
|
79
79
|
exit={{ opacity: 0 }}
|
|
80
80
|
transition={{ duration: 0.15, ease: EASING_FUNCTION.dialog }}
|
|
81
81
|
style={{ willChange: "opacity" }}
|
|
82
|
-
className="fixed inset-0 z-50 bg-black/
|
|
82
|
+
className="fixed inset-0 z-50 bg-black/30"
|
|
83
83
|
/>
|
|
84
84
|
</AlertDialogPrimitive.Overlay>
|
|
85
85
|
)}
|
|
@@ -177,7 +177,7 @@ function AlertDialogDescription({
|
|
|
177
177
|
return (
|
|
178
178
|
<AlertDialogPrimitive.Description
|
|
179
179
|
data-slot="alert-dialog-description"
|
|
180
|
-
className={cn("text-muted-foreground *:[a]:hover:text-foreground text-sm text-
|
|
180
|
+
className={cn("text-muted-foreground *:[a]:hover:text-foreground text-sm text-pretty *:[a]:underline *:[a]:underline-offset-3", className)}
|
|
181
181
|
{...props}
|
|
182
182
|
/>
|
|
183
183
|
)
|
|
@@ -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-
|
|
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}
|
|
@@ -69,7 +69,7 @@ export function DestructiveActionDialog({
|
|
|
69
69
|
<AlertDialogContent>
|
|
70
70
|
<AlertDialogHeader>
|
|
71
71
|
<AlertDialogTitle>{title}</AlertDialogTitle>
|
|
72
|
-
<AlertDialogDescription
|
|
72
|
+
<AlertDialogDescription>
|
|
73
73
|
{description}
|
|
74
74
|
</AlertDialogDescription>
|
|
75
75
|
</AlertDialogHeader>
|
|
@@ -74,7 +74,7 @@ function DialogContent({
|
|
|
74
74
|
exit={{ opacity: 0 }}
|
|
75
75
|
transition={{ duration: 0.15, ease: EASING_FUNCTION.dialog }}
|
|
76
76
|
style={{ willChange: "opacity" }}
|
|
77
|
-
className="fixed inset-0 z-50 bg-black/
|
|
77
|
+
className="fixed inset-0 z-50 bg-black/30"
|
|
78
78
|
/>
|
|
79
79
|
</DialogPrimitive.Overlay>
|
|
80
80
|
)}
|
|
@@ -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
|
))}
|