From 91d743ef9a5c346fe17bb857db68dca92a6e9ba1 Mon Sep 17 00:00:00 2001
From: Adam <2363879+adamdotdevin@users.noreply.github.com>
Date: Wed, 10 Dec 2025 12:48:08 -0600
Subject: wip(desktop): progress
---
packages/ui/src/components/avatar.tsx | 7 ++++---
packages/ui/src/components/button.css | 18 +++++++++++++-----
packages/ui/src/components/select-dialog.css | 1 -
packages/ui/src/components/select-dialog.tsx | 6 ++++--
4 files changed, 21 insertions(+), 11 deletions(-)
(limited to 'packages/ui/src')
diff --git a/packages/ui/src/components/avatar.tsx b/packages/ui/src/components/avatar.tsx
index 1ff3008ee..fb5798b08 100644
--- a/packages/ui/src/components/avatar.tsx
+++ b/packages/ui/src/components/avatar.tsx
@@ -9,22 +9,23 @@ export interface AvatarProps extends ComponentProps<"div"> {
export function Avatar(props: AvatarProps) {
const [split, rest] = splitProps(props, ["fallback", "src", "background", "size", "class", "classList", "style"])
+ const src = split.src // did this so i can zero it out to test fallback
return (
-
+
{(src) =>
}
diff --git a/packages/ui/src/components/button.css b/packages/ui/src/components/button.css
index 192c7b60c..f95317028 100644
--- a/packages/ui/src/components/button.css
+++ b/packages/ui/src/components/button.css
@@ -102,12 +102,20 @@
height: 24px;
padding: 0 6px;
&[data-icon] {
- padding: 0 8px 0 6px;
+ padding: 0 12px 0 4px;
}
font-size: var(--font-size-small);
line-height: var(--line-height-large);
gap: 6px;
+
+ /* text-12-medium */
+ font-family: var(--font-family-sans);
+ font-size: var(--font-size-small);
+ font-style: normal;
+ font-weight: var(--font-weight-medium);
+ line-height: var(--line-height-large); /* 166.667% */
+ letter-spacing: var(--letter-spacing-normal);
}
&[data-size="large"] {
@@ -115,17 +123,17 @@
padding: 0 8px;
&[data-icon] {
- padding: 0 8px 0 6px;
+ padding: 0 12px 0 8px;
}
gap: 8px;
- /* text-12-medium */
+ /* text-14-medium */
font-family: var(--font-family-sans);
- font-size: var(--font-size-small);
+ font-size: 14px;
font-style: normal;
font-weight: var(--font-weight-medium);
- line-height: var(--line-height-large); /* 166.667% */
+ line-height: var(--line-height-large); /* 142.857% */
letter-spacing: var(--letter-spacing-normal);
}
diff --git a/packages/ui/src/components/select-dialog.css b/packages/ui/src/components/select-dialog.css
index 206eade0d..cc834f795 100644
--- a/packages/ui/src/components/select-dialog.css
+++ b/packages/ui/src/components/select-dialog.css
@@ -75,7 +75,6 @@
position: relative;
display: flex;
flex-direction: column;
- gap: 4px;
[data-slot="select-dialog-header"] {
display: flex;
diff --git a/packages/ui/src/components/select-dialog.tsx b/packages/ui/src/components/select-dialog.tsx
index 695791aad..b93993ad4 100644
--- a/packages/ui/src/components/select-dialog.tsx
+++ b/packages/ui/src/components/select-dialog.tsx
@@ -15,6 +15,7 @@ interface SelectDialogProps
children: (item: T) => JSX.Element
onSelect?: (value: T | undefined) => void
onKeyEvent?: (event: KeyboardEvent, item: T | undefined) => void
+ actions?: JSX.Element
}
export function SelectDialog(props: SelectDialogProps) {
@@ -98,7 +99,8 @@ export function SelectDialog(props: SelectDialogProps) {