- 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.
21 lines
473 B
Svelte
21 lines
473 B
Svelte
<script lang="ts">
|
|
import { cn, type WithElementRef } from "$lib/utils.js";
|
|
import type { HTMLAttributes } from "svelte/elements";
|
|
|
|
let {
|
|
ref = $bindable(null),
|
|
class: className,
|
|
children,
|
|
...restProps
|
|
}: WithElementRef<HTMLAttributes<HTMLDivElement>> = $props();
|
|
</script>
|
|
|
|
<div
|
|
bind:this={ref}
|
|
data-slot="field-content"
|
|
class={cn("group/field-content flex flex-1 flex-col gap-1.5 leading-snug", className)}
|
|
{...restProps}
|
|
>
|
|
{@render children?.()}
|
|
</div>
|