Enhance audience management features with new components and API integrations
- Added `AssignCoursesModal`, `AudienceMemberRow`, `AudienceTable`, and related components for improved audience management UI. - Implemented audience invite actions including resend and revoke functionality. - Updated audience API to support importing members and assigning courses. - Refactored audience data handling to include status and invite management. - Improved overall user experience with pagination and selection features in the audience table.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<script lang="ts">
|
||||
import ArrowLeftIcon from '@lucide/svelte/icons/arrow-left';
|
||||
import { cn } from '../../tools';
|
||||
import { Button } from '../../base/button';
|
||||
|
||||
interface Props {
|
||||
href: string;
|
||||
label?: string;
|
||||
class?: string;
|
||||
}
|
||||
|
||||
let { href, label, class: className }: Props = $props();
|
||||
</script>
|
||||
|
||||
<Button variant="link" class={cn('ui:h-fit! ui:justify-start! ui:p-0', className)} {href}>
|
||||
<ArrowLeftIcon class="custom" />
|
||||
{#if label}
|
||||
<span class="ui:text-xs">{label}</span>
|
||||
{/if}
|
||||
</Button>
|
||||
@@ -0,0 +1,4 @@
|
||||
import BackButton from './back-button.svelte';
|
||||
|
||||
export { BackButton };
|
||||
export { BackButton as default };
|
||||
Reference in New Issue
Block a user