Expand the theme editor with multi-select, snapping, context menus, draft recovery and export validation; add theme backups and trust prompts. Add in-app diagnostics and rotating log bundle viewing, hardware-accelerated theme video playback on macOS, and refresh the settings, setup wizard and theme gallery layouts.
18 lines
394 B
Svelte
18 lines
394 B
Svelte
<script lang="ts">
|
|
import { cn } from '$lib/utils.js';
|
|
import { ContextMenu as ContextMenuPrimitive } from 'bits-ui';
|
|
|
|
let {
|
|
ref = $bindable(null),
|
|
class: className,
|
|
...restProps
|
|
}: ContextMenuPrimitive.TriggerProps = $props();
|
|
</script>
|
|
|
|
<ContextMenuPrimitive.Trigger
|
|
bind:ref
|
|
data-slot="context-menu-trigger"
|
|
class={cn('select-none', className)}
|
|
{...restProps}
|
|
/>
|