- Implemented PATCH and DELETE endpoints for bug reports. - Created user management page with user creation, display name update, password reset, and user deletion functionalities. - Added password validation and hashing for user creation and password reset. - Integrated dialogs for user actions (create, update, reset password, delete). - Configured SvelteKit with Node adapter and Vite for build process. - Set up Tailwind CSS for styling.
18 lines
384 B
Svelte
18 lines
384 B
Svelte
<script lang="ts">
|
|
import { Dialog as DialogPrimitive } from "bits-ui";
|
|
import { cn } from "$lib/utils.js";
|
|
|
|
let {
|
|
ref = $bindable(null),
|
|
class: className,
|
|
...restProps
|
|
}: DialogPrimitive.DescriptionProps = $props();
|
|
</script>
|
|
|
|
<DialogPrimitive.Description
|
|
bind:ref
|
|
data-slot="dialog-description"
|
|
class={cn("text-muted-foreground text-sm", className)}
|
|
{...restProps}
|
|
/>
|