- Added sidebar menu components including sidebar-menu-item, sidebar-menu-skeleton, sidebar-menu-sub-button, sidebar-menu-sub-item, sidebar-menu-sub, sidebar-menu, sidebar-provider, sidebar-rail, sidebar-separator, sidebar-trigger, and sidebar. - Introduced skeleton loading states for sidebar items. - Integrated tooltip components for enhanced user interaction. - Developed mobile responsiveness using media queries. - Established authentication flow with Keycloak, including login, logout, and token management. - Implemented server-side redirection based on authentication status. - Enhanced error handling and logging for authentication processes.
23 lines
561 B
Svelte
23 lines
561 B
Svelte
<script lang="ts">
|
|
import { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
|
|
import { cn } from "$lib/utils.js";
|
|
import type { ComponentProps } from "svelte";
|
|
|
|
let {
|
|
ref = $bindable(null),
|
|
class: className,
|
|
inset,
|
|
...restProps
|
|
}: ComponentProps<typeof DropdownMenuPrimitive.GroupHeading> & {
|
|
inset?: boolean;
|
|
} = $props();
|
|
</script>
|
|
|
|
<DropdownMenuPrimitive.GroupHeading
|
|
bind:ref
|
|
data-slot="dropdown-menu-group-heading"
|
|
data-inset={inset}
|
|
class={cn("px-2 py-1.5 text-sm font-semibold data-[inset]:pl-8", className)}
|
|
{...restProps}
|
|
/>
|