feat(dashboard,js-sdk,types): Update app layout, and add user sdk methods (#8182)

**What**
- Updates app layout (sidebar and topbar)
- Adds "System" option to theme toggle (we now default to system)
- Adds sdk methods for user endpoints (RESOLVES CC-67)
This commit is contained in:
Kasper Fabricius Kristensen
2024-07-19 13:18:48 +02:00
committed by GitHub
parent 07205e4249
commit 75c5d5ad9e
31 changed files with 1346 additions and 2400 deletions

View File

@@ -50,13 +50,13 @@ const SubMenuTrigger = React.forwardRef<
"focus-visible:bg-ui-bg-component-hover focus:bg-ui-bg-component-hover",
"active:bg-ui-bg-component-pressed",
"data-[disabled]:text-ui-fg-disabled data-[disabled]:pointer-events-none",
"data-[state=open]:bg-ui-bg-base-hover",
"data-[state=open]:!bg-ui-bg-component-hover",
className
)}
{...props}
>
{children}
<ChevronRightMini className="ml-auto" />
<ChevronRightMini className="ml-auto text-ui-fg-muted" />
</Primitives.SubTrigger>
))
SubMenuTrigger.displayName = "DropdownMenu.SubMenuTrigger"