[ui] Domi UI: vendor @domi/ui v1.0.2 (domi-design tools/vendor.mjs, MPL-2.0, unedited)

This commit is contained in:
2026-11-23 00:05:57 +01:00
parent 7f006589ab
commit 06438aa386
48 changed files with 8145 additions and 0 deletions
@@ -0,0 +1,22 @@
<script lang="ts">
import { icons, type IconName } from '../lib/icons';
interface Props {
name: IconName;
/** Draws the path in one stroke when it appears (the check of a finished action). */
draw?: boolean;
class?: string;
}
let { name, draw = false, class: cls = '' }: Props = $props();
</script>
<svg
class={['domi-icon', draw && 'domi-check-draw', cls]}
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="1.8"
stroke-linecap="round"
stroke-linejoin="round"
aria-hidden="true"
focusable="false"><path d={icons[name]} /></svg>