Readable code with lazy Shiki highlighting, composed controls and quiet interaction details.
Default
1class ProductAnalytics:
2 def __init__(self, clients):
3 self.clients = clients
4
5 def clients_in(self, country):
6 return [client for client in self.clients
7 if client["country"] == country]
8
9analytics = ProductAnalytics([
10 {"name": "Alex", "country": "India"},
11 {"name": "Sam", "country": "Canada"},
12])
13print(analytics.clients_in("India"))
Diff
1export function greet(name: string) {
2 return "Hello " + name; // [!code --]
3 const displayName = name.trim() || "friend"; // [!code ++]
4 return `Hello, ${displayName}!`; // [!code ++]
5}
Diagnostics
1const retries = 3;
2const apiKey = ""; // [!code warning]
3const project = undefined; // [!code error]
4console.info("Using the local workspace"); // [!code info]
5
6connect({ apiKey, retries });
Line Focus
1async function loadProject(id: string) {
2 const response = await fetch(`/api/projects/${id}`);
3
4 // [!code focus:2]
5 if (!response.ok) throw new Error("Project unavailable");
6 return response.json();
7}
8
9loadProject("studio");
Annotations
1// [!code word:project]
2const project = { name: "Studio", members: 4 };
3
4// [!code highlight:2]
5const label = project.name;
6const count = project.members;
7
8console.log(label, count);
Decorations
1const timeout = 5000;
2connect({ timeout });
Reading
1function loadProjects() {
2 return projects.map(project => {
3 return { name: project.name, active: true };
4 });
5}
Wrap
24const response = await fetch("/api/projects", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ name: "A little room for ideas", visibility: "private" }) });
25
26if (!response.ok) throw new Error("Could not create project");
27const project = await response.json();
Disclosure
Preview
1type Message = { role: "user" | "assistant"; content: string };
2
3async function sendMessage(messages: Message[], signal?: AbortSignal) {
4 const response = await fetch("/api/chat", {
5 method: "POST",
6 headers: { "Content-Type": "application/json" },
7 body: JSON.stringify({ messages }),
8 signal,
9 });
10
11 if (!response.ok) throw new Error("Message could not be sent");
12 return response.json();
13}
14
15const messages: Message[] = [
16 { role: "user", content: "Help me plan a small project." },
17];
18
19await sendMessage(messages);
Animation
Start with sequential requests
Each request waits for the previous one to finish.
async function loadDashboard(userId: string) {
const profile = await fetch(`/api/users/${userId}`)
.then(response => response.json());
const projects = await fetch(`/api/users/${userId}/projects`)
.then(response => response.json());
const activity = await fetch(`/api/users/${userId}/activity`)
.then(response => response.json());
return { profile, projects, activity };
}Themes
1type Project = { name: string; active: boolean };
2
3function activeProjects(projects: Project[]) {
4 return projects.filter(project => project.active);
5}
Purpose
A code block displays source code in a readable format. It can show a filename, line numbers, and a copy button.
Parts & Composition
CodeBlock → header (title) → CodeBlockContent → optional footer, CodeBlockCopyButton, CodeBlockDisclosure.
API & Props
| Prop | Purpose |
|---|---|
CodeBlock.size | xs, sm, md (default), or lg. Scales header, disclosure, and code typography. |
CodeBlockContent.code / language | Source string and Shiki language (text skips highlighter). |
CodeBlockContent.themes | { light, dark } Shiki theme names. |
CodeBlockContent.lineNumbers / startLine / highlightedLines | Line gutter display and highlighted line numbers. |
CodeBlockContent.indentGuides / showWhitespace / decorations | Reading aids and character-range highlights. |
CodeBlockContent.collapsedLines / wrap / animate | Collapsible preview height, soft wrap, and lazy Magic Move animation. |
CodeBlockCopyButton.code | Raw source string copied to clipboard with live tooltip feedback. |
CodeBlockDisclosure.summary | Collapsible toggle label for optional code output. Use defaultOpen to start expanded or open with onOpenChange for controlled disclosure. |
Copy button uses same code string. Diff via // [!code ++] / -- comments in source (no auto-diff between files).
Notation comments ([!code focus], highlight, warning, etc.) documented in Preview walkthrough—stripped from display.
State & forms
Copy is gesture + HTTPS/localhost. Disclosure uses native details open / onToggle.
Theming, Layout & Responsiveness
Syntax colors from Shiki pair; chrome uses app tokens.
wrap or horizontal scroll. Collapsed preview keeps full source in DOM for copy/AT.
Motion & Accessibility
Magic Move when animate and code updates; reduced motion disables. Hover line highlight (static mode only).
Focusable code viewport; copy polite live region. Line highlights need caption when meaning is essential.
Guidance for Coding Agents
Install this component using the command in the Install tab. Read this Info page before implementing.
Use CodeBlockContent for displayed source and the header parts for file labels or copy actions. Pass the same source to the renderer and copy button. Keep editing, language selection, or execution in separate controls.
Pass language and code to CodeBlockContent (and the same code string to CodeBlockCopyButton), set size (xs | sm | md | lg) on CodeBlock, and only enable animate when morphing between code steps so @shikijs/magic-move stays lazy-loaded. Use CodeBlockDisclosure (backed by Collapsible) for optional code output.
Start from the closest Preview → Usage example and use this page’s API table for component parts and options.
Registry
Client module; Shiki + optional Magic Move CSS via registry deps.
CLI installation
bunx --bun shadcn@latest add https://ui.devvarena.com/api/r/code-block'use client';
import { cva } from 'class-variance-authority';
import {
Component,
type ComponentProps,
type CSSProperties,
createContext,
lazy,
memo,
type ReactNode,
Suspense,
useContext,
useEffect,
useId,
useState,
} from 'react';
import type { BundledLanguage } from 'shiki';
import { Button, type ButtonProps, buttonVariants } from '@/components/devvarena-ui/button';
import {
Collapsible,
CollapsiblePanel,
CollapsibleTrigger,
} from '@/components/devvarena-ui/collapsible';
import {
DvCaretDown,
DvCheck,
DvCloseCircle,
DvCopy,
DvFileCode,
DvWarning,
} from '@/components/devvarena-ui/dv-icons';
import { Separator } from '@/components/devvarena-ui/separator';
import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/devvarena-ui/tooltip';
import { useSlidingHighlight } from '@/hooks/use-sliding-highlight';
import {
controlTextSizes,
partClass,
type StandardControlSize,
slidingHighlight,
surfaceFooterRadius,
surfaceHeaderRadius,
} from '@/lib/devvarena-ui';
import { cn } from '@/lib/utils';
import {
type CodeBlockDecoration,
type CodeBlockThemes,
type CodeLine,
defaultThemes,
highlightCodeBlock,
noDecorations,
plainCodeLines,
useCodeHighlight,
} from './highlighter';
const noHighlightedLines: readonly number[] = [];
const CodeBlockSizeContext = createContext<StandardControlSize>('md');
const codeBlockContentSizes = cva(
'group/code-content m-0 max-h-96 min-w-0 overflow-auto overscroll-contain rounded-lg font-mono outline-none scroll-fade',
{
variants: {
size: {
xs: `${controlTextSizes.xs} py-2 leading-5`,
sm: `${controlTextSizes.sm} py-3 leading-5`,
md: `${controlTextSizes.md} py-4 leading-6`,
lg: `${controlTextSizes.lg} py-5 leading-7`,
} satisfies Record<StandardControlSize, string>,
},
defaultVariants: { size: 'md' },
},
);
const codeBlockHeaderSizes = cva(
`relative flex min-w-0 flex-wrap items-center gap-2 ${surfaceHeaderRadius} text-muted-foreground`,
{
variants: {
size: {
xs: `${controlTextSizes.xs} px-2.5 py-1.5`,
sm: `${controlTextSizes.sm} px-3 py-1.5`,
md: `${controlTextSizes.xs} px-3 py-2`,
lg: `${controlTextSizes.sm} px-4 py-2.5`,
} satisfies Record<StandardControlSize, string>,
},
defaultVariants: { size: 'md' },
},
);
type CodeBlockProps = ComponentProps<'figure'> & {
size?: StandardControlSize;
};
/** Composable surface. Compose headers, code and actions without a provider. */
function CodeBlock({ size = 'md', className, ...props }: CodeBlockProps) {
return (
<CodeBlockSizeContext value={size}>
<figure
{...props}
data-slot="code-block"
data-size={size}
className={cn(
'group/code-block relative isolate m-0 w-full min-w-0 overflow-hidden rounded-lg border border-border bg-card p-1 text-card-foreground shadow-sm',
className,
)}
/>
</CodeBlockSizeContext>
);
}
function CodeBlockHeader({
separator = true,
className,
children,
...props
}: ComponentProps<'figcaption'> & { separator?: boolean }) {
const size = useContext(CodeBlockSizeContext);
return (
<figcaption
{...props}
data-slot="code-block-header"
data-size={size}
className={cn(codeBlockHeaderSizes({ size }), className)}
>
{children}
{separator ? <Separator className="absolute inset-x-0 bottom-0 w-auto" /> : null}
</figcaption>
);
}
function CodeBlockTitle({ className, children, ...props }: ComponentProps<'span'>) {
return (
<span
{...props}
data-slot="code-block-title"
className={cn(
'flex min-w-0 flex-1 items-center gap-2 font-medium text-foreground [&>svg]:size-4 [&>svg]:shrink-0',
className,
)}
>
<DvFileCode aria-hidden="true" className="text-muted-foreground" />
<span className="truncate">{children}</span>
</span>
);
}
function CodeBlockFooter({
separator = true,
className,
children,
...props
}: ComponentProps<'div'> & { separator?: boolean }) {
const size = useContext(CodeBlockSizeContext);
return (
<div
{...props}
data-slot="code-block-footer"
data-size={size}
className={cn(
`relative flex flex-wrap items-center justify-between gap-2 ${surfaceFooterRadius} px-3 py-2 text-xs text-muted-foreground`,
className,
)}
>
{separator ? <Separator className="absolute inset-x-0 top-0 w-auto" /> : null}
{children}
</div>
);
}
type CodeBlockDisclosureProps = Omit<ComponentProps<typeof Collapsible>, 'size'> & {
summary?: ReactNode;
};
function CodeBlockDisclosure({
summary = 'Show code',
className,
children,
...props
}: CodeBlockDisclosureProps) {
const size = useContext(CodeBlockSizeContext);
return (
<Collapsible
{...props}
size={size}
data-slot="code-block-disclosure"
className={cn('group/code-disclosure', className)}
>
<CollapsibleTrigger className="text-xs text-muted-foreground">{summary}</CollapsibleTrigger>
<CollapsiblePanel className="p-0">{children}</CollapsiblePanel>
</Collapsible>
);
}
// A failed animation chunk must not take down the surrounding documentation page.
class CodeAnimationBoundary extends Component<
{ children: ReactNode; code: string },
{ failed: boolean }
> {
state = { failed: false };
static getDerivedStateFromError() {
return { failed: true };
}
render() {
return this.state.failed ? (
<pre className="m-0 px-3 font-[inherit]">
<code>{this.props.code}</code>
</pre>
) : (
this.props.children
);
}
}
// The animation runtime and its stylesheet are loaded only by opted-in displays.
const AnimatedCode = lazy(() => import('./animated-code'));
/** Hover geometry updates CSS variables, never React state. */
function CodeBlockLines({ children, wrap }: { children: ReactNode; wrap: boolean }) {
const { containerRef, highlightStyle } = useSlidingHighlight({ itemSelector: '[data-line]' });
return (
<div
ref={containerRef}
className={cn('relative isolate', wrap ? 'w-full' : 'min-w-full w-fit')}
>
<span
aria-hidden="true"
style={highlightStyle}
className={cn(slidingHighlight, 'rounded-none [clip-path:none]')}
/>
{children}
</div>
);
}
function CodeTokenView({
token,
showWhitespace,
}: {
token: CodeLine['tokens'][number];
showWhitespace: boolean;
}) {
return (
<span
style={token.htmlStyle}
className={cn(
'text-(--shiki-light) dark:text-(--shiki-dark)',
token.emphasized && 'rounded-none border-0 bg-primary/15 ring-0 shadow-none',
)}
>
{showWhitespace
? Array.from(token.content.matchAll(/[ \t]|[^ \t]+/g), (match) => (
<span
key={match.index}
className={cn(
(match[0] === ' ' || match[0] === '\t') &&
'relative after:pointer-events-none after:absolute after:inset-0 after:text-center after:text-muted-foreground/40 after:content-[attr(data-space)]',
)}
data-space={match[0] === ' ' ? '·' : match[0] === '\t' ? '→' : undefined}
>
{match[0]}
</span>
))
: token.content}
</span>
);
}
function CodeLineView({
line,
number,
lineNumbers,
highlighted,
dimmed,
showMarkers,
indentGuides,
showWhitespace,
}: {
line: CodeLine;
number: number;
lineNumbers: boolean;
highlighted: boolean;
dimmed: boolean;
showMarkers: boolean;
indentGuides: boolean;
showWhitespace: boolean;
}) {
const leading = indentGuides
? (line.tokens
.map((token) => token.content)
.join('')
.match(/^[ \t]*/)?.[0] ?? '')
: '';
// Tabs advance to the next two-column stop, including mixed spaces and tabs.
const indentWidth = Array.from(leading).reduce(
(column, char) => column + (char === '\t' ? 2 - (column % 2) : 1),
0,
);
return (
<span
data-line={number}
data-change={line.change}
data-highlighted={highlighted || undefined}
data-focused={line.focused || undefined}
data-level={line.level}
className={cn(
'flex min-h-6 rounded-none border-0 px-3 ring-0 shadow-none transition-[filter,opacity] duration-200 motion-reduce:transition-none',
dimmed &&
'opacity-50 blur-[1px] hover:opacity-100 hover:blur-none group-focus-within/code-content:opacity-100 group-focus-within/code-content:blur-none motion-reduce:blur-none',
line.change === 'added' &&
'bg-[color-mix(in_oklab,var(--status-success,var(--color-green-500))_12%,transparent)]',
line.change === 'removed' && 'bg-destructive/10',
!line.level && highlighted && 'bg-primary/8',
line.level === 'warning' &&
'bg-[color-mix(in_oklab,var(--status-warning,var(--color-yellow-500))_12%,transparent)]',
line.level === 'error' && 'bg-destructive/10',
line.level === 'info' && 'bg-primary/10',
)}
>
{lineNumbers && (
<span
aria-hidden="true"
className="me-4 w-[var(--code-gutter)] shrink-0 select-none text-end tabular-nums text-muted-foreground/60"
>
{number}
</span>
)}
{showMarkers && (
<span
aria-hidden="true"
title={line.level}
className={cn(
'me-3 flex w-4 shrink-0 select-none items-center justify-center',
line.level === 'error'
? 'text-destructive'
: line.level === 'warning'
? 'text-[var(--status-warning,var(--color-yellow-700))] dark:text-[var(--status-warning,var(--color-yellow-300))]'
: line.level === 'info'
? 'text-primary'
: 'text-muted-foreground',
)}
>
{line.level === 'error' ? (
<DvCloseCircle className="size-3.5" />
) : line.level === 'warning' ? (
<DvWarning className="size-3.5" />
) : line.level === 'info' ? (
'i'
) : line.change === 'added' ? (
'+'
) : line.change === 'removed' ? (
'−'
) : null}
</span>
)}
{(line.level || line.change !== 'unchanged') && (
<span className="sr-only select-none">
{line.level ? `${line.level}: ` : line.change === 'added' ? 'Added: ' : 'Removed: '}
</span>
)}
<span className="relative isolate min-w-0 flex-1">
{indentGuides && indentWidth >= 2 && (
<span
aria-hidden="true"
className="pointer-events-none absolute inset-y-0 start-0 -z-10 bg-[repeating-linear-gradient(to_right,var(--border)_0_1px,transparent_1px_2ch)]"
style={{ width: `${indentWidth}ch` }}
/>
)}
{line.tokens.map((token) => (
<CodeTokenView key={token.offset} token={token} showWhitespace={showWhitespace} />
))}
{'\n'}
</span>
</span>
);
}
function CodeBlockPreview({
children,
lines,
total,
}: {
children: ReactNode;
lines: number;
total: number;
}) {
const [expanded, setExpanded] = useState(false);
const id = useId();
const collapsible = total > lines;
const clipped = collapsible && !expanded;
return (
<div>
<div
id={id}
className={cn(
'overflow-y-clip [interpolate-size:allow-keywords] transition-[height] duration-300 ease-out motion-reduce:transition-none',
clipped && '[mask-image:linear-gradient(to_bottom,black_calc(100%_-_1.5lh),transparent)]',
)}
style={{ height: clipped ? `${lines}lh` : 'auto' }}
>
{children}
</div>
{collapsible && (
<div className="flex justify-center pt-2 font-sans whitespace-normal">
<Button
variant="ghost"
size="sm"
aria-expanded={expanded}
aria-controls={id}
onClick={() => setExpanded((value) => !value)}
className="text-muted-foreground"
>
<DvCaretDown
aria-hidden="true"
className={cn(
'size-3.5 transition-transform duration-150 motion-reduce:transition-none',
expanded && 'rotate-180',
)}
/>
{expanded ? 'Show less' : 'Show more'}
</Button>
</div>
)}
</div>
);
}
type CodeBlockContentProps = Omit<ComponentProps<'section'>, 'children'> & {
code: string;
language?: BundledLanguage | 'text';
/** Syntax palettes follow the consumer's light/dark mode. */
themes?: CodeBlockThemes;
lineNumbers?: boolean;
startLine?: number;
/** Displayed line numbers, including startLine's offset. */
highlightedLines?: readonly number[];
wrap?: boolean;
/** Initially show this many visual lines with a fading edge and expansion control. */
collapsedLines?: number;
/** Animate source changes in unwrapped, unannotated snippets. */
animate?: boolean;
/** Decorative two-space nesting guides. */
indentGuides?: boolean;
/** Show space and tab markers without changing selected/copied source. */
showWhitespace?: boolean;
/** Zero-based Shiki character ranges, independent of displayed line numbers. */
decorations?: readonly CodeBlockDecoration[];
};
/** Read-only source: highlighting is lazy and shared across matching instances. */
const CodeBlockContent = memo(function CodeBlockContent({
code,
language = 'text',
themes = defaultThemes,
lineNumbers = true,
startLine = 1,
highlightedLines = noHighlightedLines,
wrap = false,
collapsedLines,
animate = false,
indentGuides = false,
showWhitespace = false,
decorations = noDecorations,
className,
style,
...props
}: CodeBlockContentProps) {
const size = useContext(CodeBlockSizeContext);
const canAnimate =
animate &&
!wrap &&
!indentGuides &&
!showWhitespace &&
decorations.length === 0 &&
highlightedLines.length === 0 &&
startLine === 1 &&
!/\[!code\s/.test(code);
const result = useCodeHighlight(code, language, decorations, canAnimate, themes);
const lines = result?.lines ?? plainCodeLines(code);
const highlighted = highlightedLines.length ? new Set(highlightedLines) : null;
const hasFocus = !canAnimate && lines.some((line) => line.focused);
const showMarkers =
!canAnimate && lines.some((line) => line.level || line.change !== 'unchanged');
const firstLine = Number.isFinite(startLine) ? Math.max(1, Math.trunc(startLine)) : 1;
const previewLines =
collapsedLines !== undefined && Number.isFinite(collapsedLines) && collapsedLines >= 1
? Math.floor(collapsedLines)
: null;
const content = canAnimate ? (
<CodeAnimationBoundary code={code}>
<Suspense
fallback={
<pre className="m-0 px-3 font-[inherit]">
<code>{code}</code>
</pre>
}
>
<AnimatedCode result={result} code={code} lineNumbers={lineNumbers} />
</Suspense>
</CodeAnimationBoundary>
) : (
<CodeBlockLines wrap={wrap}>
<pre className="m-0 font-[inherit] whitespace-[inherit]">
<code className={cn('block', wrap ? 'w-full' : 'min-w-full w-fit')}>
{lines.map((line, index) => {
const number = firstLine + index;
return (
<CodeLineView
key={number}
line={line}
number={number}
lineNumbers={lineNumbers}
highlighted={Boolean(line.highlighted || highlighted?.has(number))}
dimmed={hasFocus && !line.focused}
showMarkers={showMarkers}
indentGuides={indentGuides}
showWhitespace={showWhitespace}
/>
);
})}
</code>
</pre>
</CodeBlockLines>
);
return (
<section
{...props}
data-slot="code-block-content"
data-size={size}
dir={props.dir ?? 'ltr'}
tabIndex={props.tabIndex ?? 0}
aria-label={props['aria-label'] ?? `${language} code`}
style={
{
tabSize: 2,
'--code-gutter': lineNumbers
? `${String(firstLine + lines.length - 1).length}ch`
: undefined,
...style,
} as CSSProperties
}
className={cn(
codeBlockContentSizes({ size }),
wrap ? 'whitespace-pre-wrap break-words' : 'whitespace-pre',
previewLines !== null && 'max-h-none',
className,
)}
>
{previewLines === null ? (
content
) : (
<CodeBlockPreview lines={previewLines} total={lines.length}>
{content}
</CodeBlockPreview>
)}
</section>
);
});
type CodeBlockCopyButtonProps = Omit<ComponentProps<typeof TooltipTrigger>, 'children'> &
Pick<ButtonProps, 'variant' | 'size'> & {
code: string;
children?: ReactNode;
};
/** Copy raw source, never line numbers or highlighted markup. */
function CodeBlockCopyButton({
code,
onClick,
children,
variant = 'ghost',
size = 'icon-xs',
className,
'aria-label': label = 'Copy code',
...props
}: CodeBlockCopyButtonProps) {
const [status, setStatus] = useState<'idle' | 'pending' | 'copied' | 'error'>('idle');
const feedback = status === 'copied' || status === 'error' ? status : null;
useEffect(() => {
if (!feedback) return;
const timer = setTimeout(() => setStatus('idle'), 1800);
return () => clearTimeout(timer);
}, [feedback]);
return (
<Tooltip open={feedback ? true : undefined}>
<TooltipTrigger
{...props}
type="button"
aria-label={label}
aria-busy={status === 'pending' || props['aria-busy']}
disabled={props.disabled || status === 'pending'}
data-pending={status === 'pending' || undefined}
data-size={size}
data-variant={variant}
className={partClass(buttonVariants({ variant, size }), className)}
onClick={async (event) => {
onClick?.(event);
if (event.defaultPrevented || status === 'pending') return;
setStatus('pending');
try {
await navigator.clipboard.writeText(code);
setStatus('copied');
} catch {
setStatus('error');
}
}}
>
{children ??
(feedback === 'copied' ? <DvCheck aria-hidden="true" /> : <DvCopy aria-hidden="true" />)}
</TooltipTrigger>
<TooltipContent side="top">
{feedback === 'copied' ? 'Copied' : feedback === 'error' ? 'Copy failed' : 'Copy code'}
</TooltipContent>
</Tooltip>
);
}
export type {
CodeBlockContentProps,
CodeBlockCopyButtonProps,
CodeBlockDecoration,
CodeBlockDisclosureProps,
CodeBlockProps,
CodeBlockThemes,
};
export {
CodeBlock,
CodeBlockContent,
CodeBlockCopyButton,
CodeBlockDisclosure,
CodeBlockFooter,
CodeBlockHeader,
CodeBlockTitle,
highlightCodeBlock,
};
'use client';
import '@shikijs/magic-move/style.css';
import { syncTokenKeys, toKeyedTokens } from '@shikijs/magic-move/core';
import { ShikiMagicMoveRenderer } from '@shikijs/magic-move/react';
import { type CSSProperties, useState } from 'react';
import { cn } from '@/lib/utils';
type CodeLine = {
tokens: { content: string; offset: number; htmlStyle: CSSProperties; emphasized?: boolean }[];
};
type HighlightResult = {
language: string;
themes: string;
lines: CodeLine[];
};
function compile(result: HighlightResult, lineNumbers: boolean) {
let offset = 0;
const source = result.lines
.map((line) => line.tokens.map((token) => token.content).join(''))
.join('\n');
const tokens = result.lines.map((line) => {
const row = line.tokens.map((token) => {
const next = {
content: token.content,
offset,
htmlStyle: Object.fromEntries(
Object.entries(token.htmlStyle)
.filter(([key]) => key.startsWith('--'))
.map(([key, value]) => [key, String(value)]),
),
htmlClass: cn(
token.htmlStyle.fontStyle === 'italic' && 'italic',
(token.htmlStyle.fontWeight === 'bold' || token.htmlStyle.fontWeight === '700') &&
'font-bold',
token.htmlStyle.textDecoration === 'underline' && 'underline',
),
};
offset += token.content.length;
return next;
});
offset += 1;
return row;
});
return toKeyedTokens(source, tokens, `${result.language}:${result.themes}`, lineNumbers);
}
export default function AnimatedCodeView({
result,
code,
lineNumbers,
}: {
result: HighlightResult | null;
code: string;
lineNumbers: boolean;
}) {
const [frame, setFrame] = useState(() =>
result
? {
result,
lineNumbers,
tokens: compile(result, lineNumbers),
}
: null,
);
// Preserve the previous frame during async highlighting; never remount between steps.
if (result && (result !== frame?.result || lineNumbers !== frame.lineNumbers)) {
const next = compile(result, lineNumbers);
setFrame({
result,
lineNumbers,
tokens: frame ? syncTokenKeys(frame.tokens, next).to : next,
});
}
return (
<div className="px-3 motion-reduce:[&_*]:transition-none! motion-reduce:[&_*]:delay-0! [&_.shiki-magic-move-item]:text-(--shiki-light) dark:[&_.shiki-magic-move-item]:text-(--shiki-dark)">
<div aria-hidden="true">
{frame ? (
<ShikiMagicMoveRenderer
tokens={frame.tokens}
options={{
duration: 450,
stagger: 0,
containerStyle: false,
easing: 'cubic-bezier(0.22, 1, 0.36, 1)',
}}
className="m-0 font-[inherit] leading-[inherit]"
/>
) : (
<pre className="m-0 font-[inherit]">
<code>{code}</code>
</pre>
)}
</div>
<span className="sr-only">{code}</span>
</div>
);
}
import { type CSSProperties, useEffect, useState } from 'react';
import type { BundledLanguage, BundledTheme, DecorationItem } from 'shiki';
type CodeBlockThemes = Readonly<{ light: BundledTheme; dark: BundledTheme }>;
const defaultThemes: CodeBlockThemes = { light: 'github-light', dark: 'github-dark' };
type CodeBlockDecoration = Pick<DecorationItem, 'start' | 'end'>;
const noDecorations: readonly CodeBlockDecoration[] = [];
type CodeLine = {
tokens: { content: string; offset: number; htmlStyle: CSSProperties; emphasized?: boolean }[];
change: 'added' | 'removed' | 'unchanged';
highlighted?: boolean;
focused?: boolean;
level?: 'error' | 'warning' | 'info';
};
type HighlightResult = {
source: string;
language: string;
decorations: string;
themes: string;
lines: CodeLine[];
};
type TokenNode = {
type: string;
tagName?: string;
value?: string;
properties?: Record<string, unknown>;
children?: TokenNode[];
};
function nodeClasses(node: TokenNode) {
const value = node.properties?.className ?? node.properties?.class ?? '';
return Array.isArray(value) ? value : String(value).split(' ');
}
// Convert Shiki's generated tree into escaped React tokens, never raw HTML.
function lineTokens(
node: TokenNode,
output: CodeLine['tokens'] = [],
inherited: CSSProperties = {},
emphasized = false,
) {
const style = { ...inherited };
const marked = emphasized || nodeClasses(node).includes('highlighted-word');
for (const declaration of String(node.properties?.style ?? '').split(';')) {
const colon = declaration.indexOf(':');
if (colon < 0) continue;
const key = declaration.slice(0, colon).trim();
const value = declaration.slice(colon + 1).trim();
if (key === '--shiki-light' || key === '--shiki-dark') Object.assign(style, { [key]: value });
if (key === 'font-style') style.fontStyle = value;
if (key === 'font-weight') style.fontWeight = value;
if (key === 'text-decoration') style.textDecoration = value;
}
if (node.type === 'text')
output.push({
content: node.value ?? '',
offset: output.length,
htmlStyle: style,
emphasized: marked || undefined,
});
for (const child of node.children ?? []) lineTokens(child, output, style, marked);
return output;
}
function plainCodeLines(code: string): CodeLine[] {
return code.split('\n').map((content) => ({
tokens: [{ content, offset: 0, htmlStyle: {} }],
change: 'unchanged',
}));
}
// One lazy engine and two themes; language grammars load only when requested.
let highlighter: Promise<import('shiki/core').HighlighterCore> | undefined;
function getCodeHighlighter() {
if (!highlighter) {
highlighter = Promise.all([
import('shiki/core'),
import('shiki/engine/oniguruma'),
import('shiki/themes/github-light.mjs'),
import('shiki/themes/github-dark.mjs'),
])
.then(([core, engine, light, dark]) =>
core.createHighlighterCore({
themes: [light.default, dark.default],
langs: [],
engine: engine.createOnigurumaEngine(import('shiki/wasm')),
}),
)
.catch((error) => {
highlighter = undefined;
throw error;
});
}
return highlighter;
}
// Share in-flight work and reuse immutable results. Large documents aren't retained.
const highlightCache = new Map<string, Promise<HighlightResult>>();
/** Preload highlighting on intent if needed; also shared by every display. */
function highlightCodeBlock(
code: string,
language: BundledLanguage | 'text' = 'text',
decorations: readonly CodeBlockDecoration[] = noDecorations,
themes: CodeBlockThemes = defaultThemes,
): Promise<HighlightResult> {
const decorationKey = JSON.stringify(decorations);
const { light, dark } = themes;
const themeKey = JSON.stringify([light, dark]);
const key = `${language}:${themeKey}:${decorationKey}:${code}`;
const existing = highlightCache.get(key);
if (existing) return existing;
const pending = (async (): Promise<HighlightResult> => {
if (language === 'text' && decorations.length === 0)
return {
source: code,
language,
decorations: decorationKey,
themes: themeKey,
lines: plainCodeLines(code),
};
const engine = await getCodeHighlighter();
if (language !== 'text') {
const { bundledLanguages } = await import('shiki/langs');
const load = bundledLanguages[language];
if (!load) throw new Error(`Unsupported code language: ${language}`);
if (!engine.getLoadedLanguages().includes(language)) await engine.loadLanguage(await load());
}
const loadedThemes = new Set(engine.getLoadedThemes());
const missingThemes = [...new Set([light, dark])].filter((name) => !loadedThemes.has(name));
if (missingThemes.length) {
const { bundledThemes } = await import('shiki/themes');
await Promise.all(
missingThemes.map(async (name) => {
const load = bundledThemes[name];
if (!load) throw new Error(`Unsupported code theme: ${name}`);
await engine.loadTheme(await load());
}),
);
}
const hasNotation = language !== 'text' && /\[!code\s/.test(code);
const notation = hasNotation ? await import('@shikijs/transformers') : null;
const transformers = notation
? [
notation.transformerNotationDiff(),
notation.transformerNotationHighlight(),
notation.transformerNotationFocus(),
notation.transformerNotationErrorLevel(),
notation.transformerNotationWordHighlight(),
]
: [];
const tree = engine.codeToHast(code, {
lang: language,
themes: { light, dark },
defaultColor: false,
transformers,
decorations: decorations.map((range) => ({
...range,
properties: { class: 'highlighted-word' },
})),
});
const pre = tree.children.find((node) => node.type === 'element' && node.tagName === 'pre');
const content =
pre?.type === 'element'
? pre.children.find((node) => node.type === 'element' && node.tagName === 'code')
: undefined;
const lines: CodeLine[] = [];
if (content?.type === 'element')
for (const node of content.children) {
if (node.type !== 'element') continue;
const classes = nodeClasses(node);
lines.push({
tokens: lineTokens(node),
highlighted: classes.includes('highlighted') || undefined,
focused: classes.includes('focused') || undefined,
level: classes.includes('error')
? 'error'
: classes.includes('warning')
? 'warning'
: classes.includes('info')
? 'info'
: undefined,
change: classes.includes('add')
? 'added'
: classes.includes('remove')
? 'removed'
: 'unchanged',
});
}
return { source: code, language, decorations: decorationKey, themes: themeKey, lines };
})();
if (code.length <= 32768) {
if (highlightCache.size >= 16) {
const oldest = highlightCache.keys().next().value;
if (oldest !== undefined) highlightCache.delete(oldest);
}
highlightCache.set(key, pending);
pending.catch(() => {
if (highlightCache.get(key) === pending) highlightCache.delete(key);
});
}
return pending;
}
function useCodeHighlight(
code: string,
language: BundledLanguage | 'text',
decorations: readonly CodeBlockDecoration[],
animate: boolean,
themes: CodeBlockThemes,
) {
const decorationKey = JSON.stringify(decorations);
const { light, dark } = themes;
const themeKey = JSON.stringify([light, dark]);
const [result, setResult] = useState<HighlightResult | null>(null);
useEffect(() => {
if (language === 'text' && decorationKey === '[]' && !animate) return;
let active = true;
highlightCodeBlock(code, language, JSON.parse(decorationKey) as CodeBlockDecoration[], {
light,
dark,
})
.then((next) => {
if (active) setResult(next);
})
.catch(() => {
if (active)
setResult({
source: code,
language,
decorations: decorationKey,
themes: JSON.stringify([light, dark]),
lines: plainCodeLines(code),
});
});
return () => {
active = false;
};
}, [code, language, decorationKey, animate, light, dark]);
return result?.source === code &&
result.language === language &&
result.decorations === decorationKey &&
result.themes === themeKey
? result
: null;
}
export type { CodeBlockDecoration, CodeBlockThemes, CodeLine, HighlightResult };
export { defaultThemes, highlightCodeBlock, noDecorations, plainCodeLines, useCodeHighlight };
import type { ButtonOptions } from '@ui-sdk/core/button';
import { Button as ButtonPrimitive } from '@ui-sdk/react/button';
import { cva, type VariantProps } from 'class-variance-authority';
import { Loader2 } from 'lucide-react';
import type { ComponentProps, ReactNode } from 'react';
import { controlHeights, controlTextSizes, focusRing } from '@/lib/devvarena-ui';
import { cn } from '@/lib/utils';
/*
* Clean tactile button surfaces with a subtle top highlight, contact shadow,
* and 2% press scale using pure Tailwind/theme tokens.
*/
const flatPress = 'motion-safe:not-data-disabled:not-data-pending:active:scale-[0.985]';
const activeInsetShadow =
'active:shadow-[inset_0_1px_3px_rgb(0_0_0/0.12),0_1px_2px_rgb(0_0_0/0.06)] dark:active:shadow-[inset_0_1px_3px_rgb(0_0_0/0.18),0_1px_2px_rgb(0_0_0/0.1)]';
const tactileFilled =
'bg-[linear-gradient(180deg,rgb(255_255_255/0.16),rgb(255_255_255/0)_75%)] shadow-[inset_0_1.5px_0_rgb(255_255_255/0.22),inset_0_-1px_0_rgb(0_0_0/0.12),0_1px_3px_0_rgb(0_0_0/0.1),0_1px_2px_-1px_rgb(0_0_0/0.1)] active:shadow-[inset_0_1px_3px_rgb(0_0_0/0.18),0_1px_2px_rgb(0_0_0/0.1)]';
const tactileNeutral = `bg-[linear-gradient(180deg,rgb(255_255_255/0.35),transparent_48%,rgb(0_0_0/0.025)_100%)] shadow-[inset_0_1px_0_rgb(255_255_255/0.65),inset_0_-1px_0_rgb(0_0_0/0.06),0_1px_3px_0_rgb(0_0_0/0.1),0_1px_2px_-1px_rgb(0_0_0/0.1)] dark:bg-[linear-gradient(180deg,rgb(255_255_255/0.06),transparent_48%,rgb(0_0_0/0.12)_100%)] dark:shadow-[inset_0_1px_0_rgb(255_255_255/0.1),inset_0_-1px_0_rgb(0_0_0/0.12),0_1px_3px_0_rgb(0_0_0/0.1),0_1px_2px_-1px_rgb(0_0_0/0.1)] ${activeInsetShadow}`;
/** Surface map for button variants, shared with Toggle, Tabs, Radio, Checkbox, and Switch. */
const buttonSurfaces = {
primary: `border-[color-mix(in_oklch,var(--primary),black_8%)] bg-primary text-primary-foreground ${tactileFilled} ${flatPress}`,
secondary: ` bg-popover text-popover-foreground border-[color-mix(in_oklch,var(--muted),black_5%)] ${tactileNeutral} ${flatPress}`,
outline: `border-input bg-accent/10 text-foreground shadow-sm hover:text-accent-foreground ${activeInsetShadow} ${flatPress}`,
ghost: `border-transparent text-foreground hover:bg-muted ${activeInsetShadow} ${flatPress}`,
destructive: `border-[color-mix(in_oklch,var(--destructive),black_8%)] bg-destructive text-[color:var(--destructive-foreground,white)] ${tactileFilled} ${flatPress}`,
tertiary: `border-transparent bg-accent text-accent-foreground ${activeInsetShadow} ${flatPress}`,
'destructive-soft': `border-transparent bg-destructive/10 text-destructive dark:bg-destructive/20 ${activeInsetShadow} ${flatPress}`,
link: 'border-transparent text-primary underline-offset-4 hover:underline',
} as const;
type ButtonVariant = keyof typeof buttonSurfaces;
const buttonBase = cva(
[
// layout
'group/button relative isolate inline-flex shrink-0 items-center justify-center whitespace-nowrap rounded-lg border text-sm font-medium',
// interaction
'cursor-pointer select-none touch-manipulation',
'transition-[background-color,border-color,box-shadow,translate,scale,filter] duration-150 ease-out motion-reduce:transition-none',
focusRing,
// 44px touch target on coarse pointers without changing the visual size
'[@media(pointer:coarse)]:after:absolute [@media(pointer:coarse)]:after:inset-1/2 [@media(pointer:coarse)]:after:min-h-11 [@media(pointer:coarse)]:after:min-w-11 [@media(pointer:coarse)]:after:-translate-1/2',
// states
'disabled:cursor-not-allowed aria-disabled:opacity-50 data-disabled:cursor-not-allowed data-disabled:opacity-50 data-pending:cursor-wait',
// icons
"[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-(--icon-size,1rem) [&>span:has(>svg):not([class*='size-'])]:size-(--icon-size,1rem)",
],
{
variants: {
size: {
md: `${controlHeights.md} ${controlTextSizes.md} gap-2 px-4 [--icon-size:1.2rem]`,
xs: `${controlHeights.xs} ${controlTextSizes.xs} gap-1 px-2.5 [--icon-size:0.875rem]`,
sm: `${controlHeights.sm} ${controlTextSizes.sm} gap-1.5 px-3 [--icon-size:1rem]`,
lg: `${controlHeights.lg} ${controlTextSizes.lg} gap-2 px-6 [--icon-size:1.25rem]`,
icon: `${controlHeights.md} aspect-square [--icon-size:1.2rem]`,
'icon-xs': `${controlHeights.xs} aspect-square [--icon-size:0.875rem]`,
'icon-sm': `${controlHeights.sm} aspect-square [--icon-size:1rem]`,
'icon-lg': `${controlHeights.lg} aspect-square [--icon-size:1.25rem]`,
},
},
defaultVariants: { size: 'md' },
},
);
type ButtonVariantProps = VariantProps<typeof buttonBase> & {
variant?: ButtonVariant;
};
function buttonVariants({
variant = 'primary',
size,
className,
}: ButtonVariantProps & { className?: string } = {}) {
return cn(buttonBase({ size }), buttonSurfaces[variant], className);
}
type ButtonProps = Omit<
ComponentProps<typeof ButtonPrimitive>,
keyof ButtonOptions | 'className' | 'children'
> &
ButtonOptions &
ButtonVariantProps & {
children?: ReactNode;
className?: string;
/** Prevent repeated activation and display an inline spinner without replacing the label. */
loading?: boolean;
};
const spinner = (
<Loader2
aria-hidden="true"
data-slot="spinner"
className="hidden size-(--icon-size,1rem) animate-spin in-data-pending:inline-block in-data-loading:inline-block motion-reduce:animate-none"
/>
);
function Button({
className,
variant = 'primary',
size = 'md',
loading = false,
disabled,
children,
'aria-busy': ariaBusy,
...props
}: ButtonProps) {
return (
<ButtonPrimitive
{...props}
className={buttonVariants({ variant, size, className })}
data-size={size}
data-variant={variant}
data-loading={loading || undefined}
disabled={disabled || loading}
aria-busy={loading || ariaBusy}
>
{spinner}
{children}
</ButtonPrimitive>
);
}
export { Button, type ButtonProps, type ButtonVariant, buttonSurfaces, buttonVariants };
'use client';
import {
Collapsible as SDKCollapsible,
CollapsiblePanel as SDKCollapsiblePanel,
CollapsibleTrigger as SDKCollapsibleTrigger,
} from '@ui-sdk/react/collapsible';
import { cva } from 'class-variance-authority';
import { ChevronDown } from 'lucide-react';
import { type ComponentProps, createContext, type ReactNode, useContext } from 'react';
import { Separator } from '@/components/devvarena-ui/separator';
import {
concentricRadius,
controlHeights,
controlMinHeights,
controlTextSizes,
partClass,
type StandardControlSize,
surfacePadding,
surfaceRegionInset,
} from '@/lib/devvarena-ui';
import { cn } from '@/lib/utils';
const SizeContext = createContext<StandardControlSize>('md');
const collapsibleVariants = cva('group/collapsible min-w-0', {
variants: {
variant: {
plain: 'text-foreground',
card: `rounded-lg border border-border bg-card text-card-foreground shadow-sm ${surfacePadding}`,
},
size: {
xs: `${controlTextSizes.xs} [--surface-padding:1.3rem]`,
sm: `${controlTextSizes.sm} [--surface-padding:1.35rem]`,
md: controlTextSizes.md,
lg: `${controlTextSizes.lg} [--surface-padding:1.75rem]`,
} satisfies Record<StandardControlSize, string>,
},
});
const defaultIcon = <ChevronDown />;
type CollapsibleProps = ComponentProps<typeof SDKCollapsible> & {
size?: StandardControlSize;
variant?: 'plain' | 'card';
};
function Collapsible({ size = 'md', variant = 'plain', className, ...props }: CollapsibleProps) {
return (
<SizeContext value={size}>
<SDKCollapsible
{...props}
data-size={size}
data-variant={variant}
className={partClass(collapsibleVariants({ variant, size }), className)}
/>
</SizeContext>
);
}
type CollapsibleTriggerProps = ComponentProps<typeof SDKCollapsibleTrigger> & {
size?: StandardControlSize;
icon?: ReactNode;
iconOnly?: boolean;
};
function CollapsibleTrigger({
size: sizeProp,
icon = defaultIcon,
iconOnly = false,
children,
className,
render,
...props
}: CollapsibleTriggerProps) {
const inheritedSize = useContext(SizeContext);
const size = sizeProp ?? inheritedSize;
return (
<SDKCollapsibleTrigger
{...props}
render={render}
data-size={size}
className={partClass(
`group/collapsible-trigger flex min-w-0 cursor-pointer touch-manipulation items-center gap-2 ${concentricRadius} text-start font-medium transition-colors hover:not-data-disabled:bg-accent hover:not-data-disabled:text-accent-foreground data-disabled:cursor-not-allowed data-disabled:opacity-50 motion-reduce:transition-none`,
iconOnly ? controlHeights[size] : controlMinHeights[size],
iconOnly ? 'aspect-square shrink-0 justify-center' : 'w-full justify-between px-3 py-1',
className,
)}
>
{render && children === undefined && icon === defaultIcon && !iconOnly
? undefined
: (state) => (
<>
{children != null && (
<span className="min-w-0 wrap-anywhere">
{typeof children === 'function' ? children(state) : children}
</span>
)}
{icon != null && (
<span
aria-hidden="true"
className="inline-flex size-4 shrink-0 items-center justify-center text-muted-foreground transition-transform duration-200 group-data-open/collapsible-trigger:rotate-180 motion-reduce:transition-none [&>svg]:size-full"
>
{icon}
</span>
)}
</>
)}
</SDKCollapsibleTrigger>
);
}
type CollapsiblePanelProps = ComponentProps<typeof SDKCollapsiblePanel> & {
separator?: boolean;
};
function CollapsiblePanel({
separator = false,
className,
children,
...props
}: CollapsiblePanelProps) {
return (
<SDKCollapsiblePanel
{...props}
className={partClass(
'h-[var(--collapsible-panel-height,auto)] min-w-0 overflow-hidden transition-[height,opacity] duration-200 ease-out data-starting-style:h-0 data-starting-style:opacity-0 data-ending-style:h-0 data-ending-style:opacity-0 motion-reduce:transition-none',
className,
)}
>
{(state) => (
<>
{separator && <Separator />}
<div className={cn(surfaceRegionInset, 'leading-relaxed text-muted-foreground')}>
{typeof children === 'function' ? children(state) : children}
</div>
</>
)}
</SDKCollapsiblePanel>
);
}
export type {
CollapsibleChangeOptions,
CollapsibleController,
CollapsibleOpenChangeReason,
CollapsibleOptions,
CollapsiblePanelState,
CollapsibleState,
CollapsibleTriggerState,
} from '@ui-sdk/react/collapsible';
export { createCollapsibleController } from '@ui-sdk/react/collapsible';
export {
Collapsible,
CollapsiblePanel,
type CollapsiblePanelProps,
type CollapsibleProps,
CollapsibleTrigger,
type CollapsibleTriggerProps,
};
import type { ComponentType, ReactNode, SVGProps } from 'react';
export type DvIconProps = Omit<SVGProps<SVGSVGElement>, 'children'> & {
size?: number | string;
/** Omit for a decorative icon; label meaningful standalone graphics. */
label?: string;
};
function createIcon(name: string, artwork: ReactNode): ComponentType<DvIconProps> {
// biome-ignore lint/correctness/noComponentHookFactories: Each icon is created once at module scope.
function DvIcon({ size = '1em', strokeWidth = 2, label, ...props }: DvIconProps) {
const accessibleLabel = label ?? props['aria-label'];
const hasName = !!(accessibleLabel || props['aria-labelledby']);
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth={strokeWidth}
strokeLinecap="round"
strokeLinejoin="round"
role={hasName ? 'img' : undefined}
aria-hidden={hasName ? undefined : true}
aria-label={accessibleLabel}
data-icon={name}
{...props}
>
{artwork}
</svg>
);
}
DvIcon.displayName = `Dv${name.charAt(0).toUpperCase()}${name.slice(1)}`;
return DvIcon;
}
// Optical system: 24px grid, 2px rounded stroke, soft bowed frames,
// rounded directional turns and simplified counters that remain open at 16px.
export const DvArrowLeft = /*#__PURE__*/ createIcon(
'arrowleft',
<path d="M19 12c-4.5-.4-9-.4-13.5 0M10.8 5.9C8.6 7.3 6.7 9.1 5.2 11.2c-.4.5-.4 1.1 0 1.6 1.5 2.1 3.4 3.9 5.6 5.3" />,
);
export const DvCaretRight = /*#__PURE__*/ createIcon(
'caretright',
<path d="M9 5.5c2.4 1.5 4.4 3.5 6 5.7.4.5.4 1.1 0 1.6-1.6 2.2-3.6 4.2-6 5.7" />,
);
export const DvSearch = /*#__PURE__*/ createIcon(
'search',
<path d="M17 10.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0Zm-1.5 5 4.8 4.8" />,
);
export const DvHome = /*#__PURE__*/ createIcon(
'home',
<path d="M3.8 10.6c2.4-2.5 5-4.8 7.5-6.7.4-.3 1-.3 1.4 0 2.5 1.9 5.1 4.2 7.5 6.7M5.5 9.2c-.2 2.9-.2 5.7 0 8.5.2 2 1.1 2.8 3.2 2.9 2.2.1 4.4.1 6.6 0 2.1-.1 3-.9 3.2-2.9.2-2.8.2-5.6 0-8.5M9.8 20.5v-4.7c0-1.4.8-2.1 2.2-2.1s2.2.7 2.2 2.1v4.7" />,
);
export const DvSettings = /*#__PURE__*/ createIcon(
'settings',
<path d="M10.5 3.6c.5-1 2.5-1 3 0l.5 1.2c.3.7 1 1 1.7.8l1.3-.4c1-.3 2.1.8 1.8 1.8l-.4 1.3c-.2.7.1 1.4.8 1.7l1.2.5c1 .5 1 2.5 0 3l-1.2.5c-.7.3-1 1-.8 1.7l.4 1.3c.3 1-.8 2.1-1.8 1.8l-1.3-.4c-.7-.2-1.4.1-1.7.8l-.5 1.2c-.5 1-2.5 1-3 0l-.5-1.2c-.3-.7-1-1-1.7-.8l-1.3.4c-1 .3-2.1-.8-1.8-1.8l.4-1.3c.2-.7-.1-1.4-.8-1.7L3.6 13.5c-1-.5-1-2.5 0-3l1.2-.5c.7-.3 1-1 .8-1.7L5.2 7c-.3-1 .8-2.1 1.8-1.8l1.3.4c.7.2 1.4-.1 1.7-.8l.5-1.2ZM15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z" />,
);
export const DvMessage = /*#__PURE__*/ createIcon(
'message',
<path d="M7.8 4c2.8-.3 5.6-.3 8.4 0 2.8.3 4 1.5 4.3 4.3.2 2 .2 4 0 6-.3 2.8-1.5 4-4.3 4.3-1.8.2-3.7.2-5.5.1l-3.6 2c-.8.4-1.4 0-1.3-.9l.3-2.4c-1.6-.6-2.4-1.8-2.6-3.7-.2-1.8-.2-3.6 0-5.4.3-2.8 1.5-4 4.3-4.3Z" />,
);
export const DvFilter = /*#__PURE__*/ createIcon(
'filter',
<path d="M4.2 5.2c5.2-.5 10.4-.5 15.6 0 1 .1 1.4 1 .7 1.8l-5.6 6.1c-.4.5-.6 1-.6 1.7v4.1c0 .9-.5 1.3-1.3 1l-2-.8c-.6-.2-.9-.7-.9-1.4v-2.9c0-.7-.2-1.2-.6-1.7L3.5 7c-.7-.8-.3-1.7.7-1.8Z" />,
);
export const DvUpload = /*#__PURE__*/ createIcon(
'upload',
<path d="M12 14.2V3.5m-4 3.6 3.3-3.3c.4-.4 1-.4 1.4 0L16 7.1M4 15.3v1.4c0 2.7 1.1 3.9 3.8 4.1 2.8.2 5.6.2 8.4 0 2.7-.2 3.8-1.4 3.8-4.1v-1.4" />,
);
export const DvUnlock = /*#__PURE__*/ createIcon(
'unlock',
<path d="M7 9.7V8c0-3.3 1.7-5 5-5 2.4 0 4 .9 4.7 2.8M7.7 9.8c2.9-.3 5.7-.3 8.6 0 2.7.3 3.7 1.2 3.9 3.8.1 1.1.1 2.2 0 3.3-.2 2.6-1.2 3.6-3.9 3.8-2.9.3-5.7.3-8.6 0-2.7-.2-3.7-1.2-3.9-3.8-.1-1.1-.1-2.2 0-3.3.2-2.6 1.2-3.5 3.9-3.8ZM12 13.8v3.1" />,
);
export const DvRefresh = /*#__PURE__*/ createIcon(
'refresh',
<path d="M4.5 11a7.5 7.5 0 0 1 13.2-4.8L20 8.5M20 4v4.5h-4.5M19.5 13a7.5 7.5 0 0 1-13.2 4.8L4 15.5M4 20v-4.5h4.5" />,
);
export const DvTag = /*#__PURE__*/ createIcon(
'tag',
<path d="M4.2 8.6c.1-2.8 1.2-4.3 4.4-4.4 1.3-.1 2.6-.1 3.9 0 .9.1 1.6.4 2.3 1l5.1 5.1c1.3 1.3 1.3 2.9 0 4.2l-5.4 5.4c-1.3 1.3-2.9 1.3-4.2 0l-5.1-5.1c-.6-.7-.9-1.4-1-2.3-.1-1.3-.1-2.6 0-3.9ZM9 9h.01" />,
);
export const DvInfo = /*#__PURE__*/ createIcon(
'info',
<path d="M20.5 12a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0ZM12 11v5m0-8h.01" />,
);
export const DvCaretDown = /*#__PURE__*/ createIcon(
'caretdown',
<path d="M5.5 9c1.5 2.4 3.5 4.4 5.7 6 .5.4 1.1.4 1.6 0 2.2-1.6 4.2-3.6 5.7-6" />,
);
export const DvCheck = /*#__PURE__*/ createIcon(
'check',
<path d="m5 12 3.8 4c.4.4 1 .4 1.4 0L19 6.8" />,
);
export const DvFolder = /*#__PURE__*/ createIcon(
'folder',
<path d="M3.2 9.3V7.5c0-2.2 1.1-3.3 3.3-3.3h1.7c.9 0 1.4.3 1.9 1l.7 1c.4.6 1 .9 1.8.9h4.9c2.1 0 3.1 1 3.3 3.1.2 2.2.2 4.5 0 6.7-.2 2.3-1.2 3.2-3.6 3.4-3.5.2-6.9.2-10.4 0-2.4-.2-3.4-1.1-3.6-3.4-.2-2.5-.2-5.1 0-7.6Z" />,
);
export const DvCopy = /*#__PURE__*/ createIcon(
'copy',
<path d="M8.2 7.7V6.5c.1-2.3 1.1-3.3 3.4-3.4 1.9-.1 3.9-.1 5.8 0 2.3.1 3.3 1.1 3.4 3.4.1 1.9.1 3.9 0 5.8-.1 2.3-1.1 3.3-3.4 3.4h-1.2M7 8.2c3-.2 3.3-.2 5.2 0 2.3.1 3.3 1.1 3.4 3.4.1 1.9.1 3.9 0 5.8-.1 2.3-1.1 3.3-3.4 3.4-1.9.1-3.9.1-5.8 0-2.3-.1-3.3-1.1-3.4-3.4-.1-1.9-.1-3.9 0-5.8C3.1 9.3 4.1 8.3 7 8.2Z" />,
);
export const DvPencil = /*#__PURE__*/ createIcon(
'pencil',
<path d="M5.5 13.8c2.6-3.6 5.5-6.7 8.9-9.2 1.8-1.3 3.3-1.2 4.8.3s1.6 3 .3 4.8c-2.5 3.4-5.6 6.3-9.2 8.9-.6.4-1.2.7-1.9.8l-2.7.6c-1.1.2-1.7-.4-1.5-1.5l.5-2.7c.1-.7.4-1.4.8-2ZM12.5 6.3c1.1 2.2 2.8 3.9 5 5" />,
);
export const DvTrash = /*#__PURE__*/ createIcon(
'trash',
<path d="M4.5 7.2c5-.6 10-.6 15 0M9 6.8V5.5C9 3.8 10 3 12 3s3 .8 3 2.5v1.3M6 7.2c-.1 3.2 0 6.5.5 9.7.4 2.8 1.5 3.9 4.1 4h2.8c2.6-.1 3.7-1.2 4.1-4 .5-3.2.6-6.5.5-9.7M10 11v5.4m4-5.4v5.4" />,
);
export const DvDownload = /*#__PURE__*/ createIcon(
'download',
<path d="M12 3.5v10.7m-4-3.6 3.3 3.3c.4.4 1 .4 1.4 0l3.3-3.3M4 15.3v1.4c0 2.7 1.1 3.9 3.8 4.1 2.8.2 5.6.2 8.4 0 2.7-.2 3.8-1.4 3.8-4.1v-1.4" />,
);
export const DvShare = /*#__PURE__*/ createIcon(
'share',
<path d="M8.9 10.1c1.7-1.6 3.7-2.8 5.7-3.3m-5.7 7.1c1.7 1.6 3.7 2.8 5.7 3.3M6 8.8c2.5 0 3.2.7 3.2 3.2s-.7 3.2-3.2 3.2-3.2-.7-3.2-3.2S3.5 8.8 6 8.8ZM17.5 2c2.5 0 3.2.7 3.2 3.2s-.7 3.2-3.2 3.2-3.2-.7-3.2-3.2S15 2 17.5 2Zm0 13.6c2.5 0 3.2.7 3.2 3.2s-.7 3.2-3.2 3.2-3.2-.7-3.2-3.2.7-3.2 3.2-3.2Z" />,
);
export const DvDots = /*#__PURE__*/ createIcon(
'dots',
<g fill="currentColor">
<circle cx="5.5" cy="12" r="0.65" />
<circle cx="12" cy="12" r="0.65" />
<circle cx="18.5" cy="12" r="0.65" />
</g>,
);
export const DvStar = /*#__PURE__*/ createIcon(
'star',
<path d="M12.00 2.80C13.42 2.80 13.31 6.15 15.23 7.55C17.16 8.95 20.31 7.80 20.75 9.16C21.19 10.51 17.97 11.44 17.23 13.70C16.50 15.96 18.56 18.61 17.41 19.44C16.26 20.28 14.38 17.50 12.00 17.50C9.62 17.50 7.74 20.28 6.59 19.44C5.44 18.61 7.50 15.96 6.77 13.70C6.03 11.44 2.81 10.51 3.25 9.16C3.69 7.80 6.84 8.95 8.77 7.55C10.69 6.15 10.58 2.80 12.00 2.80Z" />,
);
export const DvWorkflow = /*#__PURE__*/ createIcon(
'workflow',
<path d="M6 9.2c2.2 0 2.8.6 2.8 2.8s-.6 2.8-2.8 2.8-2.8-.6-2.8-2.8.6-2.8 2.8-2.8Zm12-5.8c2.2 0 2.8.6 2.8 2.8S20.2 9 18 9s-2.8-.6-2.8-2.8.6-2.8 2.8-2.8Zm0 11.6c2.2 0 2.8.6 2.8 2.8s-.6 2.8-2.8 2.8-2.8-.6-2.8-2.8.6-2.8 2.8-2.8ZM8.8 12h1.4c1.3 0 1.8-.7 2-2.2.2-2 .8-3.6 3-3.6M10.2 12c1.3 0 1.8.7 2 2.2.2 2 .8 3.6 3 3.6" />,
);
export const DvKey = /*#__PURE__*/ createIcon(
'key',
<path d="M7.5 7.8c3.2 0 4.2 1 4.2 4.2s-1 4.2-4.2 4.2-4.2-1-4.2-4.2 1-4.2 4.2-4.2Zm4.2 4.2c3-.2 5.9-.2 8.8 0M17 12v3.2m3.2-3.2v2.4" />,
);
export const DvWand = /*#__PURE__*/ createIcon(
'wand',
<path d="M4.4 17.2c2.4-2.5 4.9-5 7.4-7.4.9-.9 1.9-.9 2.7-.1s.8 1.8-.1 2.7c-2.4 2.5-4.9 5-7.4 7.4-.9.9-1.9.9-2.7.1s-.8-1.8.1-2.7Zm5.8-5.4 2.4 2.4M17.8 3.2c.4 1.6 1.4 2.6 3 3-1.6.4-2.6 1.4-3 3-.4-1.6-1.4-2.6-3-3 1.6-.4 2.6-1.4 3-3ZM7.5 6.5h.01M19.5 13.5h.01" />,
);
export const DvHourglass = /*#__PURE__*/ createIcon(
'hourglass',
<path d="M5.8 3.8c4.1-.3 8.3-.3 12.4 0M5.8 20.2c4.1.3 8.3.3 12.4 0M7.4 4v2.2c0 2.5 1.4 4.1 3.3 5.2.5.3.5.9 0 1.2-1.9 1.1-3.3 2.7-3.3 5.2V20M16.6 4v2.2c0 2.5-1.4 4.1-3.3 5.2-.5.3-.5.9 0 1.2 1.9 1.1 3.3 2.7 3.3 5.2V20M9.8 17.4c1.4-.7 3-.7 4.4 0" />,
);
export const DvLink = /*#__PURE__*/ createIcon(
'link',
<path
transform="rotate(-40 12 12)"
d="M10.3 7.7c-1.2-.2-2.4-.2-3.6 0-2.7.3-3.8 1.5-3.8 4.3s1.1 4 3.8 4.3c1.2.2 2.4.2 3.6 0m3.4-8.6c1.2-.2 2.4-.2 3.6 0 2.7.3 3.8 1.5 3.8 4.3s-1.1 4-3.8 4.3c-1.2.2-2.4.2-3.6 0M8.5 12c2.3-.2 4.7-.2 7 0"
/>,
);
export const DvExternalLink = /*#__PURE__*/ createIcon(
'externallink',
<path d="M14.2 3.5h5c.9 0 1.3.4 1.3 1.3v5M20 4l-9 9M9.5 4.5H8C5.3 4.5 4 5.8 3.8 8.5c-.2 2.6-.2 5.2 0 7.8.2 2.7 1.5 4 4.2 4.2 2.5.2 5 .2 7.5 0 2.7-.2 4-1.5 4-4.2v-1.8" />,
);
export const DvWindow = /*#__PURE__*/ createIcon(
'window',
<path d="M8.1 6.5v-.4c0-2 1-3 3-3 2.2-.1 4.4-.1 6.6 0 2.1.1 3.1 1.1 3.2 3.2.1 2.2.1 4.4 0 6.6 0 2-1 3-3 3h-.4M6.8 7.8c2.2-.1 4.4-.1 6.6 0 2.6.1 3.8 1.2 3.9 3.8.1 1.8.1 3.6 0 5.4-.1 2.6-1.3 3.7-3.9 3.8-2.2.1-4.4.1-6.6 0C4.3 20.7 3.2 19.6 3 17c-.1-1.8-.1-3.6 0-5.4.2-2.6 1.3-3.7 3.8-3.8ZM3.2 11.5h14" />,
);
export const DvSidebar = /*#__PURE__*/ createIcon(
'sidebar',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3ZM9 3.3v17.4" />,
);
export const DvGlobe = /*#__PURE__*/ createIcon(
'globe',
<path d="M20.8 12a8.8 8.8 0 1 1-17.6 0 8.8 8.8 0 0 1 17.6 0ZM3.2 12h17.6M12 3.2c-4.6 4.9-4.6 12.7 0 17.6 4.6-4.9 4.6-12.7 0-17.6Z" />,
);
export const DvCloudUpload = /*#__PURE__*/ createIcon(
'cloudupload',
<path d="M6.7 17.5H6a3.7 3.7 0 0 1-.7-7.3A6.2 6.2 0 0 1 17.4 8a4.8 4.8 0 0 1 .6 9.5h-.7M12 21V11.2m-3.5 3.5 2.8-2.8c.4-.4 1-.4 1.4 0l2.8 2.8" />,
);
export const DvWallet = /*#__PURE__*/ createIcon(
'wallet',
<path d="M19.8 8.9V7.5c0-2.6-1.3-3.8-3.9-4-2.6-.2-5.2-.2-7.8 0-2.7.2-4 1.5-4.2 4.2-.2 2.8-.2 5.6 0 8.4.2 2.7 1.5 4 4.2 4.2 2.6.2 5.2.2 7.8 0 2.6-.2 3.9-1.4 3.9-4M4 8h12.6c2.7 0 4 1.2 4.2 3.7l.1 2c0 .8-.4 1.2-1.2 1.2h-3.5a3 3 0 0 1 0-6h3.6m-3.5 3h.01" />,
);
export const DvSparkle = /*#__PURE__*/ createIcon(
'sparkle',
<path d="M12 3.5c.2 0 .4.2.5.5 1.1 3.8 3.7 6.4 7.5 7.5.7.2.7.8 0 1-3.8 1.1-6.4 3.7-7.5 7.5-.2.7-.8.7-1 0C10.4 16.2 7.8 13.6 4 12.5c-.7-.2-.7-.8 0-1 3.8-1.1 6.4-3.7 7.5-7.5.1-.3.3-.5.5-.5Z" />,
);
export const DvArrowRight = /*#__PURE__*/ createIcon(
'arrowright',
<path d="M5 12c4.5-.4 9-.4 13.5 0M13.2 5.9c2.2 1.4 4.1 3.2 5.6 5.3.4.5.4 1.1 0 1.6-1.5 2.1-3.4 3.9-5.6 5.3" />,
);
export const DvArrowUpRight = /*#__PURE__*/ createIcon(
'arrowupright',
<path d="M6 18c4.3-3.7 8.3-7.7 12-12M7.1 5.8c3.2-.6 6.5-.7 9.7-.4 1.1.1 1.6.6 1.7 1.7.3 3.2.2 6.5-.4 9.7" />,
);
export const DvCaretLeft = /*#__PURE__*/ createIcon(
'caretleft',
<path d="M15 5.5c-2.4 1.5-4.4 3.5-6 5.7-.4.5-.4 1.1 0 1.6 1.6 2.2 3.6 4.2 6 5.7" />,
);
export const DvCaretUp = /*#__PURE__*/ createIcon(
'caretup',
<path d="M5.5 15c1.5-2.4 3.5-4.4 5.7-6 .5-.4 1.1-.4 1.6 0 2.2 1.6 4.2 3.6 5.7 6" />,
);
export const DvPlus = /*#__PURE__*/ createIcon('plus', <path d="M12 5v14M5 12h14" />);
export const DvClose = /*#__PURE__*/ createIcon('close', <path d="m6 6 12 12M18 6 6 18" />);
export const DvMapPin = /*#__PURE__*/ createIcon(
'mappin',
<path d="M12 3.2C7.5 3.2 4.2 5.9 4.2 10c0 4.7 3.9 8.8 6.7 10.6.7.5 1.5.5 2.2 0 2.8-1.8 6.7-5.9 6.7-10.6 0-4.1-3.3-6.8-7.8-6.8Zm2.8 6.8a2.8 2.8 0 1 1-5.6 0 2.8 2.8 0 0 1 5.6 0Z" />,
);
export const DvBookmark = /*#__PURE__*/ createIcon(
'bookmark',
<path d="M8.8 3.5c2.1-.3 4.3-.3 6.4 0 2.6.3 3.4 1.2 3.7 3.7.5 4.1.5 8.2 0 12.3-.1.9-.6 1.2-1.4.7l-4.3-2.6c-.8-.5-1.6-.5-2.4 0l-4.3 2.6c-.8.5-1.3.2-1.4-.7-.5-4.1-.5-8.2 0-12.3.3-2.5 1.1-3.4 3.7-3.7Z" />,
);
export const DvLoader = /*#__PURE__*/ createIcon(
'loader',
<path d="M20.5 12A8.5 8.5 0 1 1 12 3.5" />,
);
export const DvCircle = /*#__PURE__*/ createIcon(
'circle',
<path d="M20.5 12a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0Z" />,
);
export const DvCheckCircle = /*#__PURE__*/ createIcon(
'checkcircle',
<path d="M20.5 12a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0Zm-12.3 0 2.3 2.5c.3.3.7.3 1 0l4.4-4.9" />,
);
export const DvCloseCircle = /*#__PURE__*/ createIcon(
'closecircle',
<path d="M20.5 12a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0ZM9 9l6 6m0-6-6 6" />,
);
export const DvClock = /*#__PURE__*/ createIcon(
'clock',
<path d="M20.5 12a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0ZM12 7v5c0 .5.2.8.6 1l3 1.8" />,
);
export const DvWarning = /*#__PURE__*/ createIcon(
'warning',
<path d="M10.3 4.4c1-1.3 2.4-1.3 3.4 0 3.1 3.9 5.8 8.4 7 12.8.4 1.5-.3 2.5-1.8 2.8-4.4.9-9.4.9-13.8 0-1.5-.3-2.2-1.3-1.8-2.8 1.2-4.4 3.9-8.9 7-12.8ZM12 8.7v4.5m0 3.4h.01" />,
);
export const DvSend = /*#__PURE__*/ createIcon(
'send',
<path d="M5.1 8.4c3.8-2 8.9-3.7 13.3-4.7 2.1-.5 2.9.3 2.4 2.4-1 4.7-2.6 9.7-4.4 13-.9 1.6-2 1.9-3.5.9l-1.7-1.1c-.5-.4-.9-.4-1.4 0l-1.1.9c-1.2.9-2.1.4-2.1-1v-3.2c-1.2-1.3-2.2-2.6-2.9-3.8-.8-1.4-.4-2.5 1.4-3.4Zm1.5 7.2c2.8-2.8 5.6-5.3 8.8-7.7" />,
);
export const DvScanSearch = /*#__PURE__*/ createIcon(
'scansearch',
<path d="M8 3.5H6.8c-2.2.1-3.2 1.1-3.3 3.3V8m13-4.5h.7c2.2.1 3.2 1.1 3.3 3.3V8M3.5 16v1.2c.1 2.2 1.1 3.2 3.3 3.3H8m7.5-5 3.9 4.4M11.8 7.6000000000000005C15.16 7.6000000000000005 16.0 8.440000000000001 16.0 11.8C16.0 15.16 15.16 16.0 11.8 16.0C8.440000000000001 16.0 7.6000000000000005 15.16 7.6000000000000005 11.8C7.6000000000000005 8.440000000000001 8.440000000000001 7.6000000000000005 11.8 7.6000000000000005Z" />,
);
export const DvRotateLeft = /*#__PURE__*/ createIcon(
'rotateleft',
<path d="M4 9a8 8 0 1 1 .5 7M3.5 4.5V9c0 .6.3.9.9.9H9" />,
);
export const DvFile = /*#__PURE__*/ createIcon(
'file',
<path d="M13 3.4c-1.7-.2-3.5-.2-5.2 0-2.8.3-3.8 1.3-4 4.1-.2 3-.2 6 0 9 .2 2.8 1.2 3.8 4 4.1 2.8.3 5.6.3 8.4 0 2.8-.3 3.8-1.3 4-4.1.2-2 .2-4 0-6 0-.7-.2-1.2-.7-1.7l-4.4-4.4c-.6-.6-1.2-.9-2.1-1Zm0 .1v4.3c0 1.5.7 2.2 2.2 2.2h4.9M8 14h8m-8 3.3h5" />,
);
export const DvSliders = /*#__PURE__*/ createIcon(
'sliders',
<path d="M4 7h2.8m5.4 0H20M4 17h7.8m5.4 0H20M8.3 4.2c.8-.1 1.6-.1 2.4 0 1.1.1 1.6.6 1.7 1.7.1.7.1 1.5 0 2.2-.1 1.1-.6 1.6-1.7 1.7-.8.1-1.6.1-2.4 0-1.1-.1-1.6-.6-1.7-1.7-.1-.7-.1-1.5 0-2.2.1-1.1.6-1.6 1.7-1.7Zm5 10c.8-.1 1.6-.1 2.4 0 1.1.1 1.6.6 1.7 1.7.1.7.1 1.5 0 2.2-.1 1.1-.6 1.6-1.7 1.7-.8.1-1.6.1-2.4 0-1.1-.1-1.6-.6-1.7-1.7-.1-.7-.1-1.5 0-2.2.1-1.1.6-1.6 1.7-1.7Z" />,
);
export const DvBolt = /*#__PURE__*/ createIcon(
'bolt',
<path d="M13.1 3.7c-3 2.1-5.9 5.3-8 8.7-.8 1.3-.4 2.1 1.1 2.2l3.6.2c.4 0 .6.3.5.8l-.6 4.2c-.1 1.1.5 1.3 1.3.6 3.1-2.6 5.9-5.9 7.9-9.2.7-1.2.3-2-1.1-2.1l-3.4-.2c-.6 0-.8-.3-.7-.9l.6-3.6c.2-1.2-.3-1.4-1.2-.7Z" />,
);
export const DvEye = /*#__PURE__*/ createIcon(
'eye',
<path d="M3 11c2.3-4 5.3-6 9-6s6.7 2 9 6c.4.6.4 1.4 0 2-2.3 4-5.3 6-9 6s-6.7-2-9-6c-.4-.6-.4-1.4 0-2Zm12 1a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z" />,
);
export const DvEyeOff = /*#__PURE__*/ createIcon(
'eyeoff',
<path d="m4 4 16 16M8 5.8A9.3 9.3 0 0 1 12 5c3.7 0 6.7 2 9 6 .4.6.4 1.4 0 2-.7 1.3-1.6 2.4-2.5 3.3M5.7 7.7C4.7 8.6 3.8 9.7 3 11c-.4.6-.4 1.4 0 2 2.3 4 5.3 6 9 6 1.4 0 2.7-.3 4-.9M9.9 9.9a3 3 0 0 0 4.2 4.2" />,
);
export const DvSave = /*#__PURE__*/ createIcon(
'save',
<path d="M7.5 3.4c2.8-.3 5.5-.3 8.3 0 .7.1 1.2.3 1.7.8l2 2c.5.5.7 1 .8 1.7.3 2.8.3 5.7 0 8.6-.3 2.8-1.3 3.8-4.1 4.1-2.8.2-5.6.2-8.4 0-2.8-.3-3.8-1.3-4.1-4.1-.2-3-.2-6 0-9 .2-2.8 1.2-3.8 3.8-4.1ZM8 3.4v3.8c0 1.1.5 1.6 1.6 1.7 1.6.1 3.2.1 4.8 0 1.1-.1 1.6-.6 1.6-1.7V3.4M8 20.6v-4.3c0-1.2.5-1.7 1.7-1.8 1.5-.1 3.1-.1 4.6 0 1.2.1 1.7.6 1.7 1.8v4.3" />,
);
export const DvPullRequest = /*#__PURE__*/ createIcon(
'pullrequest',
<path d="M7 8v8m3-11a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm0 14a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM14 3l-2 2 2 2m-1-2h1c3 0 4 1.5 4 4v7m3 3a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z" />,
);
export const DvShieldCheck = /*#__PURE__*/ createIcon(
'shieldcheck',
<path d="M11.4 3.4c.4-.2.8-.2 1.2 0 2.1 1.3 4 2 6.4 2.3.7.1 1 .4 1.1 1.1.3 1.4.3 3 .1 4.5-.5 4.7-3.3 7.6-7.3 9.4-.6.3-1.2.3-1.8 0-4-1.8-6.8-4.7-7.3-9.4-.2-1.5-.2-3.1.1-4.5.1-.7.4-1 1.1-1.1 2.4-.3 4.3-1 6.4-2.3ZM8.3 12l2.5 2.5 5-5" />,
);
export const DvLock = /*#__PURE__*/ createIcon(
'lock',
<path d="M7 9.7V8c0-3.3 1.7-5 5-5s5 1.7 5 5v1.7M7.7 9.8c2.9-.3 5.7-.3 8.6 0 2.7.3 3.7 1.2 3.9 3.8.1 1.1.1 2.2 0 3.3-.2 2.6-1.2 3.6-3.9 3.8-2.9.3-5.7.3-8.6 0-2.7-.2-3.7-1.2-3.9-3.8-.1-1.1-.1-2.2 0-3.3.2-2.6 1.2-3.5 3.9-3.8ZM12 13.8v3.1" />,
);
export const DvTicket = /*#__PURE__*/ createIcon(
'ticket',
<path d="M8 3.8c2.7-.3 5.3-.3 8 0 2.8.3 3.9 1.4 4.1 4.2v.7c0 .5-.2.7-.7.9a2.6 2.6 0 0 0 0 4.8c.5.2.7.4.7.9v.7c-.2 2.8-1.3 3.9-4.1 4.2-2.7.3-5.3.3-8 0-2.8-.3-3.9-1.4-4.1-4.2v-.7c0-.5.2-.7.7-.9a2.6 2.6 0 0 0 0-4.8c-.5-.2-.7-.4-.7-.9V8c.2-2.8 1.3-3.9 4.1-4.2ZM14 3.6v2m0 4v1m0 4v1m0 2.4v2" />,
);
export const DvTrain = /*#__PURE__*/ createIcon(
'train',
<path d="M8.4 3.4c2.4-.3 4.8-.3 7.2 0 2.7.3 3.7 1.4 3.9 4.1.2 2.5.2 5.1 0 7.6-.2 2.7-1.2 3.8-3.9 4.1-2.4.2-4.8.2-7.2 0-2.7-.3-3.7-1.4-3.9-4.1-.2-2.5-.2-5.1 0-7.6.2-2.7 1.2-3.8 3.9-4.1ZM4.4 10.8c5 .3 10.2.3 15.2 0M12 3.3V11M8 15h.01m7.99 0h.01M8 19.2 6 21.5m10-2.3 2 2.3" />,
);
export const DvPaintBrush = /*#__PURE__*/ createIcon(
'paintbrush',
<path d="m10 13 6.7-8.5c1.6-2 4.8 1.2 2.8 2.8L11 14M10 13c-3-1-4.5.5-4.5 2.5 0 2-1 3.5-2 4.5 5 .5 8-.5 8-4 0-1-.5-2-1.5-3Z" />,
);
export const DvImage = /*#__PURE__*/ createIcon(
'image',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3ZM3.5 16.8l4.3-4c.7-.6 1.4-.6 2.1.1l2.8 2.7 2-1.8c.7-.7 1.4-.7 2.1 0l3.7 3M9 8h.01" />,
);
export const DvSwatch = /*#__PURE__*/ createIcon(
'swatch',
<path d="M7.2 3.4c.6 0 1.2 0 1.8.1 1.7.2 2.5 1 2.6 2.8.2 3.7.2 7.4 0 11.1-.1 2.3-1.3 3.5-3.6 3.5s-3.5-1.2-3.6-3.5c-.2-3.7-.2-7.4 0-11.1.1-1.8.9-2.6 2.8-2.9ZM11.7 8.2l2-2c1.3-1.3 2.4-1.4 3.8-.1l.8.8c1.3 1.4 1.2 2.5-.1 3.8L10 19.4M14.9 14.2h2.7c2.1.1 3 1 3.1 3v.9c-.1 2-1 2.9-3.1 3-3 .1-6 .1-9 0M8 17.7h.01" />,
);
export const DvDashedCircle = /*#__PURE__*/ createIcon(
'dashedcircle',
<circle cx="12" cy="12" r="8.5" strokeDasharray="2 3" />,
);
export const DvSummary = /*#__PURE__*/ createIcon(
'summary',
<path d="M8 3.5c2.7-.3 5.3-.3 8 0 2.8.3 3.8 1.4 4 4.2.2 2.9.2 5.7 0 8.6-.2 2.8-1.2 3.9-4 4.2-2.7.3-5.3.3-8 0-2.8-.3-3.8-1.4-4-4.2-.2-2.9-.2-5.7 0-8.6.2-2.8 1.2-3.9 4-4.2ZM8 8h8m-8 4h8m-8 4h4.5" />,
);
export const DvChecklist = /*#__PURE__*/ createIcon(
'checklist',
<>
<path d="M8 4.5c-2.8.2-3.8 1.3-4 4-.2 2.7-.2 5.3 0 8 .2 2.8 1.2 3.8 4 4 2.7.2 5.3.2 8 0 2.8-.2 3.8-1.2 4-4 .2-2.7.2-5.3 0-8-.2-2.7-1.2-3.8-4-4M10 3h4c1.4 0 2 .6 2 1.8s-.6 1.8-2 1.8h-4c-1.4 0-2-.6-2-1.8S8.6 3 10 3Z" />
<path d="m8 12 2 2 5-4M8 17h8" />
</>,
);
export const DvRoute = /*#__PURE__*/ createIcon(
'route',
<>
<path d="M5 15.5c0-4 2.4-5.5 6-5.5s6-1.5 6-5.5M13 7.5c.9-1.4 2-2.6 3.3-3.6.5-.4.9-.4 1.4 0 1.3 1 2.4 2.2 3.3 3.6" />
<circle cx="5" cy="18" r="2.5" />
</>,
);
export const DvRocket = /*#__PURE__*/ createIcon(
'rocket',
<>
<path d="M8 14c-.2-5.2 4.6-9.8 11.2-10.5.9-.1 1.4.4 1.3 1.3C19.8 11.4 15.2 16.2 10 16ZM9 8.5c-3-.2-4.8 1.5-5.5 4.5l4.5 1m7.5 1c.2 3-1.5 4.8-4.5 5.5L10 16M5.5 18.5 3.5 20.5" />
<circle cx="15" cy="9" r="1.5" />
</>,
);
export const DvGuideBook = /*#__PURE__*/ createIcon(
'guidebook',
<path d="M12 5.5C9.7 4.1 7 3.8 4.4 4.5c-.7.2-1 .6-1.1 1.4-.3 3.6-.3 7.1 0 10.7.1.8.5 1.2 1.3 1 2.7-.5 5.2 0 7.4 1.5 2.2-1.5 4.7-2 7.4-1.5.8.2 1.2-.2 1.3-1 .3-3.6.3-7.1 0-10.7-.1-.8-.4-1.2-1.1-1.4-2.6-.7-5.3-.4-7.6 1Zm0 0v13.6" />,
);
export const DvFormFields = /*#__PURE__*/ createIcon(
'formfields',
<>
<path d="M7.5 3.5c3-.2 6-.2 9 0 2.5.2 3.5 1.1 3.7 3.4v.2c-.2 2.3-1.2 3.2-3.7 3.4-3 .2-6 .2-9 0C5 10.3 4 9.4 3.8 7.1v-.2C4 4.6 5 3.7 7.5 3.5ZM7.5 13.5c3-.2 6-.2 9 0 2.5.2 3.5 1.1 3.7 3.4v.2c-.2 2.3-1.2 3.2-3.7 3.4-3 .2-6 .2-9 0-2.5-.2-3.5-1.1-3.7-3.4v-.2c.2-2.3 1.2-3.2 3.7-3.4Z" />
<path d="M8 6v2m0 9h4" />
</>,
);
export const DvUser = /*#__PURE__*/ createIcon(
'user',
<path d="M8.2 7.5c0-2.5 1.3-3.8 3.8-3.8s3.8 1.3 3.8 3.8-1.3 3.8-3.8 3.8-3.8-1.3-3.8-3.8ZM4.5 20c.3-4.1 2.8-6.1 7.5-6.1s7.2 2 7.5 6.1" />,
);
export const DvIntegrations = /*#__PURE__*/ createIcon(
'integrations',
<path d="M8.5 4c1.9.1 2.6.9 2.7 2.8v2.4c-.1 1.9-.8 2.7-2.7 2.8H6c-1.9-.1-2.6-.9-2.7-2.8V6.8C3.4 4.9 4.1 4.1 6 4h2.5ZM18 12c1.9.1 2.6.9 2.7 2.8v2.4c-.1 1.9-.8 2.7-2.7 2.8h-2.5c-1.9-.1-2.6-.9-2.7-2.8v-2.4c.1-1.9.8-2.7 2.7-2.8H18ZM11.2 8h2.6c2.1 0 3.2 1.1 3.2 3.2v.8M12.8 16h-2.6C8.1 16 7 14.9 7 12.8V12" />,
);
export const DvUsers = /*#__PURE__*/ createIcon(
'users',
<path d="M6.4 7.4c0-2.4 1.2-3.6 3.6-3.6s3.6 1.2 3.6 3.6S12.4 11 10 11 6.4 9.8 6.4 7.4ZM3.3 19.8c.3-3.9 2.5-5.8 6.7-5.8s6.4 1.9 6.7 5.8M17 4.3c2 .3 3 1.4 3 3.3s-1 3-3 3.3M19 14.7c1.5 1 2.2 2.7 2.2 5.1" />,
);
export const DvHelp = /*#__PURE__*/ createIcon(
'help',
<>
<path d="M7.8 3.5c2.8-.3 5.6-.3 8.4 0 2.8.3 4 1.5 4.3 4.3.3 2.8.3 5.6 0 8.4-.3 2.8-1.5 4-4.3 4.3-2.8.3-5.6.3-8.4 0-2.8-.3-4-1.5-4.3-4.3-.3-2.8-.3-5.6 0-8.4.3-2.8 1.5-4 4.3-4.3ZM9.2 8.9c.2-1.4 1.2-2.1 2.8-2.1 1.8 0 2.8.9 2.8 2.4 0 2-2.8 2.2-2.8 4.2" />
<path d="M12 17h.01" />
</>,
);
export const DvSun = /*#__PURE__*/ createIcon(
'sun',
<>
<path d="M7.4 12c0-3 1.6-4.6 4.6-4.6s4.6 1.6 4.6 4.6-1.6 4.6-4.6 4.6-4.6-1.6-4.6-4.6Z" />
<path d="M12 2v1.5M12 20.5V22M2 12h1.5M20.5 12H22M4.9 4.9 6 6M18 18l1.1 1.1M4.9 19.1 6 18M18 6l1.1-1.1" />
</>,
);
export const DvMoon = /*#__PURE__*/ createIcon(
'moon',
<path d="M20.1 14.4c-1.1 3.8-4 6-8 6-5.2 0-8.5-3.3-8.5-8.5 0-4 2.2-6.9 6-8-1 3.2-.5 6.1 1.6 8.2s5 2.6 8.2 1.6c.6-.2.9.1.7.7Z" />,
);
export const DvSignOut = /*#__PURE__*/ createIcon(
'signout',
<path d="M12.5 4c-1.8-.3-3.6-.4-5.4-.2-2.4.2-3.3 1.2-3.5 3.7-.2 3-.2 6 0 9 .2 2.5 1.1 3.5 3.5 3.7 1.8.2 3.6.1 5.4-.2M10 12h10.3M16.6 7.3c1.6 1 3 2.3 4.1 3.9.4.5.4 1.1 0 1.6-1.1 1.6-2.5 2.9-4.1 3.9" />,
);
export const DvCrown = /*#__PURE__*/ createIcon(
'crown',
<path d="M5.5 16.8C4.1 14 3.4 11 3.3 8c0-.8.5-1 1.1-.5 1.4 1.3 2.7 2 3.6 1.7 1.4-.4 1.8-3.6 3.3-5.3.4-.5 1-.5 1.4 0 1.5 1.7 1.9 4.9 3.3 5.3.9.3 2.2-.4 3.6-1.7.6-.5 1.1-.3 1.1.5-.1 3-.8 6-2.2 8.8-4.3-.8-8.7-.8-13 0ZM6.5 20c3.6-.5 7.4-.5 11 0" />,
);
/** Original color avatar artwork; shares the Devvarena Icons sizing and naming contract. */
export const DvColorUser = /*#__PURE__*/ createIcon(
'coloruser',
<g stroke="none">
<path
d="M7.6 1.8c2.9-.4 5.9-.4 8.8 0 3.8.5 5.3 2 5.8 5.8.4 2.9.4 5.9 0 8.8-.5 3.8-2 5.3-5.8 5.8-2.9.4-5.9.4-8.8 0-3.8-.5-5.3-2-5.8-5.8-.4-2.9-.4-5.9 0-8.8.5-3.8 2-5.3 5.8-5.8Z"
fill="#e0ede8"
/>
<path d="M5 20c.2-3.8 2.5-5.7 7-5.7s6.8 1.9 7 5.7c-4.5 1-9.5 1-14 0Z" fill="#5c8790" />
<path d="M10 12.8h4v2c0 1.2-.7 1.8-2 1.8s-2-.6-2-1.8Z" fill="#dfa98b" />
<path
d="M7.5 8.1c.1-2.8 1.6-4.2 4.5-4.2s4.4 1.4 4.5 4.2c.1 1 .1 2 0 3-.2 2.7-1.7 4-4.5 4s-4.3-1.3-4.5-4c-.1-1-.1-2 0-3Z"
fill="#f2c5a6"
/>
<path
d="M7.4 9c-1.2-4.3.4-6.4 4.6-6.4 3.9 0 5.4 2 4.5 6-1.7-.3-3-1.2-3.9-2.5-1.2 1.8-2.9 2.7-5.2 2.9Z"
fill="#3d5154"
/>
</g>,
);
export const DvMicrophone = /*#__PURE__*/ createIcon(
'microphone',
<path d="M8.5 6.9c0-2.6 1.2-3.9 3.5-3.9s3.5 1.3 3.5 3.9v4.2c0 2.6-1.2 3.9-3.5 3.9s-3.5-1.3-3.5-3.9V6.9ZM5 11c0 4.7 2.3 7 7 7s7-2.3 7-7M12 18v3m-3.5 0h7" />,
);
export const DvVideo = /*#__PURE__*/ createIcon(
'video',
<path d="M7.3 5.4c1.7-.2 3.3-.2 5 0 2.6.2 3.5 1.3 3.7 3.9.1 1.8.1 3.6 0 5.4-.2 2.6-1.1 3.7-3.7 3.9-1.7.2-3.3.2-5 0-2.6-.2-3.5-1.3-3.7-3.9-.1-1.8-.1-3.6 0-5.4.2-2.6 1.1-3.7 3.7-3.9ZM16.1 9.7l3.4-2.3c.7-.5 1.2-.2 1.2.6.2 2.7.2 5.3 0 8 0 .8-.5 1.1-1.2.6l-3.4-2.3" />,
);
export const DvMonitor = /*#__PURE__*/ createIcon(
'monitor',
<path d="M7.5 3.8c3-.3 6-.3 9 0 2.8.3 3.8 1.4 4 4.2.1 1.6.1 3.2 0 4.8-.2 2.8-1.2 3.9-4 4.2-3 .3-6 .3-9 0-2.8-.3-3.8-1.4-4-4.2-.1-1.6-.1-3.2 0-4.8.2-2.8 1.2-3.9 4-4.2ZM9.5 17l-1 3.2m6-3.2 1 3.2M7 20.5c3.3-.3 6.7-.3 10 0" />,
);
const PHONE_PATH = (
<path
strokeWidth={1.5}
d="M18.61 15.64V8.36c0-2.92 0-4.38-.82-5.36a4 4 0 0 0-.43-.43c-.98-.82-2.44-.82-5.36-.82s-4.38 0-5.36.82q-.24.2-.43.43c-.82.98-.82 2.44-.82 5.36v7.28c0 2.92 0 4.38.82 5.36q.2.24.43.43c.98.82 2.44.82 5.36.82s4.38 0 5.36-.82q.2.24.43-.43c.82-.98.82-2.44.82-5.36M14.56 5.16H9.44"
/>
);
export const DvPhone = /*#__PURE__*/ createIcon('phone', PHONE_PATH);
export const DvTablet = /*#__PURE__*/ createIcon(
'tablet',
<g transform="translate(12 0) scale(1.38 1) translate(-12 0)">{PHONE_PATH}</g>,
);
export const DvStop = /*#__PURE__*/ createIcon(
'stop',
<path d="M8 4.5c2.7-.3 5.3-.3 8 0 2.3.2 3.3 1.2 3.5 3.5.3 2.7.3 5.3 0 8-.2 2.3-1.2 3.3-3.5 3.5-2.7.3-5.3.3-8 0-2.3-.2-3.3-1.2-3.5-3.5-.3-2.7-.3-5.3 0-8 .2-2.3 1.2-3.3 3.5-3.5Z" />,
);
export const DvBell = /*#__PURE__*/ createIcon(
'bell',
<path d="M5.2 15.3c.8-1.2 1-2.8 1-5C6.2 6.1 8.1 4 12 4s5.8 2.1 5.8 6.3c0 2.2.2 3.8 1 5 .6.9.3 1.5-.8 1.7-4 .6-8 .6-12 0-1.1-.2-1.4-.8-.8-1.7ZM9.5 20c1.5 1.3 3.5 1.3 5 0M12 2v2" />,
);
export const DvArchive = /*#__PURE__*/ createIcon(
'archive',
<path d="M6.2 4c3.9-.3 7.7-.3 11.6 0 2 .1 2.7.8 2.7 2.5s-.7 2.4-2.7 2.5c-3.9.3-7.7.3-11.6 0-2-.1-2.7-.8-2.7-2.5S4.2 4.1 6.2 4ZM5 9v6.6c.2 3 1.4 4.2 4.4 4.4 1.7.1 3.5.1 5.2 0 3-.2 4.2-1.4 4.4-4.4V9M9.5 13h5" />,
);
// File family: one bowed document silhouette, identical fold and optical weight.
const FILE_SHELL = (
<path d="M13 3.4c-1.7-.2-3.5-.2-5.2 0-2.8.3-3.8 1.3-4 4.1-.2 3-.2 6 0 9 .2 2.8 1.2 3.8 4 4.1 2.8.3 5.6.3 8.4 0 2.8-.3 3.8-1.3 4-4.1.2-2 .2-4 0-6 0-.7-.2-1.2-.7-1.7l-4.4-4.4c-.6-.6-1.2-.9-2.1-1Zm0 .1v4.3c0 1.5.7 2.2 2.2 2.2h4.9" />
);
function fileArtwork(glyph: ReactNode) {
return (
<>
{FILE_SHELL}
<g strokeWidth="1.5">{glyph}</g>
</>
);
}
export const DvFileImage = /*#__PURE__*/ createIcon(
'fileImage',
fileArtwork(
<>
<path d="m8 17 2.5-2.5L13 17l1.5-1.5L16 17" />
<circle cx="8.5" cy="12.8" r=".7" fill="currentColor" stroke="none" />
</>,
),
);
export const DvFileVideo = /*#__PURE__*/ createIcon(
'fileVideo',
fileArtwork(<path d="M10 13c0-.5.4-.7.8-.4l4.1 2.1c.4.2.4.6 0 .8l-4.1 2.1c-.4.3-.8.1-.8-.4Z" />),
);
export const DvFileAudio = /*#__PURE__*/ createIcon(
'fileAudio',
fileArtwork(
<>
<path d="M13 16.5v-4l2.5 1" />
<ellipse cx="11.5" cy="17" rx="1.5" ry="1" />
</>,
),
);
export const DvFilePdf = /*#__PURE__*/ createIcon(
'filePdf',
fileArtwork(
<path
strokeWidth="1.1"
d="M7.5 17.5V13h1c1.7 0 1.7 2.4 0 2.4h-1m4 2.1V13h.7c2.1 0 2.1 4.5 0 4.5Zm4.5 0V13h2m-2 2.2h1.6"
/>,
),
);
export const DvFileDocument = /*#__PURE__*/ createIcon(
'fileDocument',
fileArtwork(<path d="M8 12.5h3m-3 2.7h8M8 18h5" />),
);
export const DvFileText = /*#__PURE__*/ createIcon(
'fileText',
fileArtwork(<path d="M9 13h6m-3 0v5m-1.5 0h3" />),
);
export const DvFileSpreadsheet = /*#__PURE__*/ createIcon(
'fileSpreadsheet',
fileArtwork(<path d="M8 12.5h8V18H8Zm0 2.7h8m-4-2.7V18" />),
);
export const DvFilePresentation = /*#__PURE__*/ createIcon(
'filePresentation',
fileArtwork(<path d="M8 12.5h8v3.8H8Zm4 3.8V18m-1.5 0h3" />),
);
export const DvFileArchive = /*#__PURE__*/ createIcon(
'fileArchive',
fileArtwork(<path d="M10.5 12.5h1.5m0 2h1.5m-3 2H12m0 2h1.5" />),
);
export const DvFileCode = /*#__PURE__*/ createIcon(
'fileCode',
fileArtwork(<path d="m10 13-2 2.3 2 2.2m4-4.5 2 2.3-2 2.2" />),
);
export const DvFileDesign = /*#__PURE__*/ createIcon(
'fileDesign',
fileArtwork(<path d="m12 12.5 3.5 2.7L12 18l-3.5-2.8Zm0 0v2.7" />),
);
export const DvFileFont = /*#__PURE__*/ createIcon(
'fileFont',
fileArtwork(<path d="m8.5 18 3.5-5.5 3.5 5.5m-5.4-2h3.8" />),
);
export const DvFileModel = /*#__PURE__*/ createIcon(
'fileModel',
fileArtwork(<path d="m12 12.3 3.5 1.8v3L12 19l-3.5-1.9v-3Zm0 3.6V19m-3.5-4.9 3.5 1.8 3.5-1.8" />),
);
export const DvFileDatabase = /*#__PURE__*/ createIcon(
'fileDatabase',
fileArtwork(
<>
<ellipse cx="12" cy="13.5" rx="3.2" ry="1.1" />
<path d="M8.8 13.5v3.3c0 1.6 6.4 1.6 6.4 0v-3.3" />
</>,
),
);
export const DvFileExecutable = /*#__PURE__*/ createIcon(
'fileExecutable',
fileArtwork(<path d="m8.5 13 2.5 2.3-2.5 2.2m4.5 0h3" />),
);
export const DvMail = /*#__PURE__*/ createIcon(
'mail',
<>
<path d="M12 5c7.1 0 8.5.8 8.5 7s-1.4 7-8.5 7-8.5-.8-8.5-7S4.9 5 12 5Z" />
<path d="m4.2 7 6.1 4.8c1.1.9 2.3.9 3.4 0L19.8 7" />
</>,
);
export const DvCalendar = /*#__PURE__*/ createIcon(
'calendar',
<>
<path d="M7 3v4m10-4v4M3.5 10h17M3.5 8c0-3 1.5-3.5 8.5-3.5s8.5.5 8.5 3.5v8c0 3.5-1.5 4.5-8.5 4.5S3.5 19.5 3.5 16Z" />
<path d="M8 14h1m6 0h1m-8 3h1m6 0h1" />
</>,
);
export const DvPlay = /*#__PURE__*/ createIcon(
'play',
<path d="M6.4 6.2c.1-2 1.1-2.8 2.9-2 3.6 1.5 6.7 3.6 9.5 6.1 1.2 1.1 1.2 2.3 0 3.4-2.8 2.5-5.9 4.6-9.5 6.1-1.8.8-2.8 0-2.9-2-.4-3.8-.4-7.8 0-11.6Z" />,
);
export const DvPause = /*#__PURE__*/ createIcon(
'pause',
<>
<path d="M4.8 6.5c.1-1.7.8-2.3 2.5-2.3s2.4.6 2.5 2.3c.3 3.7.3 7.3 0 11-.1 1.7-.8 2.3-2.5 2.3s-2.4-.6-2.5-2.3c-.3-3.7-.3-7.3 0-11Z" />
<path d="M14.2 6.5c.1-1.7.8-2.3 2.5-2.3s2.4.6 2.5 2.3c.3 3.7.3 7.3 0 11-.1 1.7-.8 2.3-2.5 2.3s-2.4-.6-2.5-2.3c-.3-3.7-.3-7.3 0-11Z" />
</>,
);
export const DvVolume = /*#__PURE__*/ createIcon(
'volume',
<>
<path d="M10.3 5.2c1.2-.8 2-.4 2.1 1 .3 3.9.3 7.7 0 11.6-.1 1.4-.9 1.8-2.1 1-1.6-1-2.8-2-4-3.2-.5-.4-1-.5-1.9-.5-1.5 0-2.1-.6-2.2-2.1v-2c.1-1.5.7-2.1 2.2-2.1.9 0 1.4-.1 1.9-.5 1.2-1.2 2.4-2.2 4-3.2Z" />
<path d="M16 8.6c1.7 1.8 1.7 5 0 6.8M19.1 5.9c3.2 3.1 3.2 9.1 0 12.2" />
</>,
);
export const DvVolumeOff = /*#__PURE__*/ createIcon(
'volumeoff',
<>
<path d="M10.3 5.2c1.2-.8 2-.4 2.1 1 .3 3.9.3 7.7 0 11.6-.1 1.4-.9 1.8-2.1 1-1.6-1-2.8-2-4-3.2-.5-.4-1-.5-1.9-.5-1.5 0-2.1-.6-2.2-2.1v-2c.1-1.5.7-2.1 2.2-2.1.9 0 1.4-.1 1.9-.5 1.2-1.2 2.4-2.2 4-3.2Z" />
<path d="M17 9.5c1.3 1.5 2.6 3.3 4 5m0-5c-1.4 1.7-2.7 3.5-4 5" />
</>,
);
export const DvMusic = /*#__PURE__*/ createIcon(
'music',
<>
<path d="M9 17.3c-.3-3.6-.3-7.2-.1-10.8.1-1.2.5-1.8 1.6-2.1 2.4-.7 4.9-1.3 7.5-1.6 1.2-.2 1.8.4 1.9 1.6.3 3.7.3 7.3 0 11M9 9.3c3.6-1.1 7.2-1.9 10.9-2.4" />
<path d="M3 17.4c.2-1.5 1.3-2.3 3.1-2.3 1.9 0 2.9.7 2.9 2.2s-1.1 2.6-3.1 2.6c-1.8 0-3-1-2.9-2.5Zm11-1.9c.2-1.5 1.3-2.3 3.1-2.3 1.9 0 2.9.7 2.9 2.2S18.9 18 16.9 18c-1.8 0-3-1-2.9-2.5Z" />
</>,
);
export const DvRepeat = /*#__PURE__*/ createIcon(
'repeat',
<>
<path d="M3.5 10V9c0-2.8 1.5-4 4.5-4h12M20.5 14v1c0 2.8-1.5 4-4.5 4H4" />
<path d="M17 2.5 20 5l-3 2.5M7 16.5 4 19l3 2.5" />
</>,
);
export const DvShuffle = /*#__PURE__*/ createIcon(
'shuffle',
<>
<path d="M3.5 5.5H5c5 0 9 13 14 13h1.5M3.5 18.5H5c1.8 0 3.6-1.7 5.2-4M13.8 9.5c1.6-2.3 3.4-4 5.2-4h1.5" />
<path d="m17.5 3 3 2.5-3 2.5m0 8 3 2.5-3 2.5" />
</>,
);
export const DvNextTrack = /*#__PURE__*/ createIcon(
'nexttrack',
<>
<path d="M5.2 6c.1-1.4 1-1.9 2.2-1.2 3 1.5 5.7 3.5 8 5.8.9.9.9 1.9 0 2.8-2.3 2.3-5 4.3-8 5.8-1.2.7-2.1.2-2.2-1.2-.3-4-.3-8 0-12Z" />
<path d="M19 5c.3 4.7.3 9.3 0 14" />
</>,
);
export const DvPreviousTrack = /*#__PURE__*/ createIcon(
'previoustrack',
<>
<path d="M18.8 6c-.1-1.4-1-1.9-2.2-1.2-3 1.5-5.7 3.5-8 5.8-.9.9-.9 1.9 0 2.8 2.3 2.3 5 4.3 8 5.8 1.2.7 2.1.2 2.2-1.2.3-4 .3-8 0-12Z" />
<path d="M5 5c-.3 4.7-.3 9.3 0 14" />
</>,
);
export const DvHeart = /*#__PURE__*/ createIcon(
'heart',
<path d="M12 20.2c-.6 0-1.1-.3-1.7-.7C7 17.1 3.2 14.2 3 9.7c-.2-3 1.6-5.1 4.2-5.1 2.1 0 3.5 1.2 4.8 2.7 1.3-1.5 2.7-2.7 4.8-2.7 2.6 0 4.4 2.1 4.2 5.1-.2 4.5-4 7.4-7.3 9.8-.6.4-1.1.7-1.7.7Z" />,
);
export const DvFullscreen = /*#__PURE__*/ createIcon(
'fullscreen',
<path d="M8.5 3.8H6c-1.5 0-2.2.7-2.2 2.2v2.5m11.7-4.7H18c1.5 0 2.2.7 2.2 2.2v2.5M3.8 15.5V18c0 1.5.7 2.2 2.2 2.2h2.5m11.7-4.7V18c0 1.5-.7 2.2-2.2 2.2h-2.5" />,
);
export const DvPictureInPicture = /*#__PURE__*/ createIcon(
'pictureinpicture',
<>
<path d="M20.2 10V7c0-3-1.6-3.8-8.2-3.8S3.8 4 3.8 7v10c0 3 1.6 3.8 6.2 3.8" />
<path d="M12.5 14.4c0-1.8.8-2.2 4-2.2s4 .4 4 2.2v3.4c0 1.8-.8 2.2-4 2.2s-4-.4-4-2.2Z" />
</>,
);
export const DvCaptions = /*#__PURE__*/ createIcon(
'captions',
<>
<path d="M3.5 8c0-3.2 1.8-4.3 8.5-4.3s8.5 1.1 8.5 4.3v8c0 3.2-1.8 4.3-8.5 4.3S3.5 19.2 3.5 16Z" />
<path d="M10.2 9.6a2.6 2.6 0 1 0 0 4.8m7.2-4.8a2.6 2.6 0 1 0 0 4.8" />
</>,
);
export const DvCommand = /*#__PURE__*/ createIcon(
'command',
<path d="M9 9h6v6H9V9Zm0 0V6.5a2.5 2.5 0 1 0-2.5 2.5H9Zm6 0V6.5a2.5 2.5 0 1 1 2.5 2.5H15Zm0 6v2.5a2.5 2.5 0 1 0 2.5-2.5H15Zm-6 0v2.5a2.5 2.5 0 1 1-2.5-2.5H9Z" />,
);
export const DvTerminal = /*#__PURE__*/ createIcon(
'terminal',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3ZM7.8 9.2 10.6 12l-2.8 2.8M12.5 14.8h3.7" />,
);
export const DvInbox = /*#__PURE__*/ createIcon(
'inbox',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3ZM3.5 13h4.2c.6 0 1 .3 1.3.9.5 1 1.6 1.6 3 1.6s2.5-.6 3-1.6c.3-.6.7-.9 1.3-.9h4.2" />,
);
export const DvPaperclip = /*#__PURE__*/ createIcon(
'paperclip',
<path d="m15.8 7.4-6.4 6.4a2.2 2.2 0 1 0 3.1 3.1l7-7a4.2 4.2 0 0 0-6-6l-7.4 7.4a6 6 0 0 0 8.5 8.5l5.4-5.4" />,
);
export const DvStickyNote = /*#__PURE__*/ createIcon(
'stickynote',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.2 2.1.2 4.2.1 6.3 0 .8-.3 1.4-.9 2L16 19.8c-.6.6-1.2.9-2 .9-2.1.1-4.2.1-6.3-.1-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3ZM14.5 20.5v-3.8c0-1.5.7-2.2 2.2-2.2h3.8" />,
);
export const DvKanban = /*#__PURE__*/ createIcon(
'kanban',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3ZM8.2 7.5V16M12 7.5v5M15.8 7.5v6.8" />,
);
export const DvCreditCard = /*#__PURE__*/ createIcon(
'creditcard',
<path d="M7.2 5c3.2-.3 6.4-.3 9.6 0 2.8.3 3.8 1.4 4 4.2.1 1.9.1 3.7 0 5.6-.2 2.8-1.2 3.9-4 4.2-3.2.3-6.4.3-9.6 0-2.8-.3-3.8-1.4-4-4.2-.1-1.9-.1-3.7 0-5.6.2-2.8 1.2-3.9 4-4.2ZM3.4 9.6h17.2M7.2 14.5h3.6" />,
);
export const DvReceipt = /*#__PURE__*/ createIcon(
'receipt',
<path d="M7.6 3.4c2.9-.2 5.9-.2 8.8 0 2.3.2 3.2 1.2 3.4 3.6.2 3.8.2 7.6 0 11.4 0 .9-.6 1.3-1.3.9l-2-1.2c-.5-.3-1-.3-1.5 0l-2.2 1.3c-.5.3-1.1.3-1.6 0L9 18.1c-.5-.3-1-.3-1.5 0l-2 1.2c-.7.4-1.3 0-1.3-.9-.2-3.8-.2-7.6 0-11.4.2-2.4 1.1-3.4 3.4-3.6ZM8.2 8.8h7.6M8.2 12.6h5" />,
);
export const DvCompass = /*#__PURE__*/ createIcon(
'compass',
<path d="M20.5 12a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0Zm-5.1-3.4-1.9 4.9-4.9 1.9 1.9-4.9 4.9-1.9Z" />,
);
export const DvDatabase = /*#__PURE__*/ createIcon(
'database',
<path d="M19.5 6.8c0 1.8-3.4 3.2-7.5 3.2S4.5 8.6 4.5 6.8 7.9 3.6 12 3.6s7.5 1.4 7.5 3.2ZM4.5 6.8v10.4c0 1.8 3.4 3.2 7.5 3.2s7.5-1.4 7.5-3.2V6.8M4.5 12c0 1.8 3.4 3.2 7.5 3.2s7.5-1.4 7.5-3.2" />,
);
export const DvQrCode = /*#__PURE__*/ createIcon(
'qrcode',
<path d="M5.6 3.8c1-.1 1.8-.1 2.8 0 1 .1 1.5.6 1.6 1.6.1 1 .1 1.8 0 2.8-.1 1-.6 1.5-1.6 1.6-1 .1-1.8.1-2.8 0-1-.1-1.5-.6-1.6-1.6-.1-1-.1-1.8 0-2.8.1-1 .6-1.5 1.6-1.6Zm10 0c1-.1 1.8-.1 2.8 0 1 .1 1.5.6 1.6 1.6.1 1 .1 1.8 0 2.8-.1 1-.6 1.5-1.6 1.6-1 .1-1.8.1-2.8 0-1-.1-1.5-.6-1.6-1.6-.1-1-.1-1.8 0-2.8.1-1 .6-1.5 1.6-1.6Zm-10 10.4c1-.1 1.8-.1 2.8 0 1 .1 1.5.6 1.6 1.6.1 1 .1 1.8 0 2.8-.1 1-.6 1.5-1.6 1.6-1 .1-1.8.1-2.8 0-1-.1-1.5-.6-1.6-1.6-.1-1-.1-1.8 0-2.8.1-1 .6-1.5 1.6-1.6ZM14.5 14.5h.01M19.5 14.5h.01M17 17h.01M14.5 19.5h.01M19.5 19.5h.01" />,
);
export const DvPalette = /*#__PURE__*/ createIcon(
'palette',
<path d="M12 3.5c-4.9 0-8.5 3.6-8.5 8.5s3.6 8.5 8.5 8.5c1.5 0 2.4-.8 2.4-2 0-.6-.2-1.1-.5-1.5-.3-.4-.5-.8-.5-1.3 0-1.1.9-1.9 2.1-1.9h1.6c2.1 0 3.4-1.3 3.4-3.5 0-3.9-3.6-6.8-8.5-6.8ZM8.2 10.2h.01M11.5 7.6h.01M15.4 9.5h.01" />,
);
export const DvBentoGrid = /*#__PURE__*/ createIcon(
'bentogrid',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3ZM11.5 3.3v17.4M11.5 12h9.2" />,
);
export const DvFingerprint = /*#__PURE__*/ createIcon(
'fingerprint',
<path d="M4.6 13.6c-.2-.7-.3-1.4-.3-2.1 0-4.3 3.4-7.5 7.7-7.5s7.7 3.2 7.7 7.5c0 2.1-.3 4.2-1 6.1M7.2 17.2c.7-1.6 1.1-3.4 1.1-5.7 0-2.2 1.6-3.8 3.7-3.8s3.7 1.6 3.7 3.8c0 2.6-.5 5.2-1.5 7.6M12 11.5v2.2c0 2.3-.7 4.4-2 6.2" />,
);
export const DvCpu = /*#__PURE__*/ createIcon(
'cpu',
<path d="M9 6c2-.2 4-.2 6 0 2.1.2 2.8.9 3 3 .2 2 .2 4 0 6-.2 2.1-.9 2.8-3 3-2 .2-4 .2-6 0-2.1-.2-2.8-.9-3-3-.2-2-.2-4 0-6 .2-2.1.9-2.8 3-3Zm2 3.8c.7-.1 1.3-.1 2 0 .8.1 1.1.4 1.2 1.2.1.7.1 1.3 0 2-.1.8-.4 1.1-1.2 1.2-.7.1-1.3.1-2 0-.8-.1-1.1-.4-1.2-1.2-.1-.7-.1-1.3 0-2 .1-.8.4-1.1 1.2-1.2ZM9.5 3.2v2.6m5-2.6v2.6m-5 12.4v2.6m5-2.6v2.6M3.2 9.5h2.6M3.2 14.5h2.6m12.4-5h2.6m-2.6 5h2.6" />,
);
export const DvLayers = /*#__PURE__*/ createIcon(
'layers',
<path d="M7.8 3.6c2.8-.3 5.6-.3 8.4 0 2.7.3 3.7 1.3 3.9 3.9.1 1.1.1 2.1 0 3.2-.2 2.6-1.2 3.6-3.9 3.9-2.8.3-5.6.3-8.4 0-2.7-.3-3.7-1.3-3.9-3.9-.1-1.1-.1-2.1 0-3.2.2-2.6 1.2-3.6 3.9-3.9ZM5.6 17.2c4.2.5 8.6.5 12.8 0M7.8 20.2c2.8.4 5.6.4 8.4 0" />,
);
export const DvAppGrid = /*#__PURE__*/ createIcon(
'appgrid',
<path d="M5.4 3.7c1.1-.1 2.1-.1 3.2 0 1.2.1 1.7.6 1.8 1.8.1 1.1.1 2.1 0 3.2-.1 1.2-.6 1.7-1.8 1.8-1.1.1-2.1.1-3.2 0-1.2-.1-1.7-.6-1.8-1.8-.1-1.1-.1-2.1 0-3.2.1-1.2.6-1.7 1.8-1.8Zm10 0c1.1-.1 2.1-.1 3.2 0 1.2.1 1.7.6 1.8 1.8.1 1.1.1 2.1 0 3.2-.1 1.2-.6 1.7-1.8 1.8-1.1.1-2.1.1-3.2 0-1.2-.1-1.7-.6-1.8-1.8-.1-1.1-.1-2.1 0-3.2.1-1.2.6-1.7 1.8-1.8Zm-10 10c1.1-.1 2.1-.1 3.2 0 1.2.1 1.7.6 1.8 1.8.1 1.1.1 2.1 0 3.2-.1 1.2-.6 1.7-1.8 1.8-1.1.1-2.1.1-3.2 0-1.2-.1-1.7-.6-1.8-1.8-.1-1.1-.1-2.1 0-3.2.1-1.2.6-1.7 1.8-1.8Zm10 0c1.1-.1 2.1-.1 3.2 0 1.2.1 1.7.6 1.8 1.8.1 1.1.1 2.1 0 3.2-.1 1.2-.6 1.7-1.8 1.8-1.1.1-2.1.1-3.2 0-1.2-.1-1.7-.6-1.8-1.8-.1-1.1-.1-2.1 0-3.2.1-1.2.6-1.7 1.8-1.8Z" />,
);
export const DvToggleOn = /*#__PURE__*/ createIcon(
'toggleon',
<path d="M8.5 6.8c2.3-.2 4.7-.2 7 0 3.4.3 5.2 2 5.2 5.2s-1.8 4.9-5.2 5.2c-2.3.2-4.7.2-7 0-3.4-.3-5.2-2-5.2-5.2s1.8-4.9 5.2-5.2ZM15.5 9.6c1.8 0 2.4.6 2.4 2.4s-.6 2.4-2.4 2.4-2.4-.6-2.4-2.4.6-2.4 2.4-2.4Z" />,
);
export const DvChartBar = /*#__PURE__*/ createIcon(
'chartbar',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3ZM8.2 16.5v-3.8M12 16.5V7.8m3.8 8.7v-5.8" />,
);
export const DvTrendUp = /*#__PURE__*/ createIcon(
'trendup',
<path d="M3.8 16.5c2.2-2.3 4.1-4.2 5.2-5.1.6-.5 1.3-.5 1.9.1l1.7 1.7c.6.6 1.3.6 1.9 0l5.3-5.5M14.5 7.2h4.7c.9 0 1.3.4 1.3 1.3v4.7" />,
);
export const DvCode = /*#__PURE__*/ createIcon(
'code',
<path d="M8 7.5C6.4 8.7 5 10.1 3.9 11.4c-.3.4-.3.8 0 1.2C5 13.9 6.4 15.3 8 16.5m8-9c1.6 1.2 3 2.6 4.1 3.9.3.4.3.8 0 1.2-1.1 1.3-2.5 2.7-4.1 3.9M13.6 5.8l-3.2 12.4" />,
);
export const DvGitBranch = /*#__PURE__*/ createIcon(
'gitbranch',
<path d="M7 3.8c1.9 0 2.5.6 2.5 2.5S8.9 8.8 7 8.8s-2.5-.6-2.5-2.5S5.1 3.8 7 3.8Zm0 11.4c1.9 0 2.5.6 2.5 2.5s-.6 2.5-2.5 2.5-2.5-.6-2.5-2.5.6-2.5 2.5-2.5Zm10-11.4c1.9 0 2.5.6 2.5 2.5s-.6 2.5-2.5 2.5-2.5-.6-2.5-2.5.6-2.5 2.5-2.5ZM7 8.8v6.4m10-6.4c0 3.8-2.2 5-6 5-2 0-3.4.5-4 1.4" />,
);
export const DvBriefcase = /*#__PURE__*/ createIcon(
'briefcase',
<path d="M7.5 7.6c3-.3 6-.3 9 0 2.8.3 3.8 1.3 4 4.1.2 1.6.2 3.2 0 4.8-.2 2.8-1.2 3.8-4 4.1-3 .3-6 .3-9 0-2.8-.3-3.8-1.3-4-4.1-.2-1.6-.2-3.2 0-4.8.2-2.8 1.2-3.8 4-4.1ZM8.8 7.5V6.2c0-1.7.8-2.4 3.2-2.4s3.2.7 3.2 2.4v1.3M3.6 12.6c5.6.9 11.2.9 16.8 0M12 12v2.2" />,
);
export const DvShieldAlert = /*#__PURE__*/ createIcon(
'shieldalert',
<path d="M11.4 3.4c.4-.2.8-.2 1.2 0 2.1 1.3 4 2 6.4 2.3.7.1 1 .4 1.1 1.1.3 1.4.3 3 .1 4.5-.5 4.7-3.3 7.6-7.3 9.4-.6.3-1.2.3-1.8 0-4-1.8-6.8-4.7-7.3-9.4-.2-1.5-.2-3.1.1-4.5.1-.7.4-1 1.1-1.1 2.4-.3 4.3-1 6.4-2.3ZM12 8.2v4.3m0 3.2h.01" />,
);
export const DvCamera = /*#__PURE__*/ createIcon(
'camera',
<path d="M7.4 6.8h1.1l.8-1.6c.4-.8 1-1.2 1.9-1.2h1.6c.9 0 1.5.4 1.9 1.2l.8 1.6h1.1c2.7.2 3.8 1.3 4 4 .2 1.7.2 3.3 0 5-.2 2.7-1.3 3.8-4 4-3 .3-6.2.3-9.2 0-2.7-.2-3.8-1.3-4-4-.2-1.7-.2-3.3 0-5 .2-2.7 1.3-3.8 4-4ZM12 10.1c2.4 0 3.1.7 3.1 3.1s-.7 3.1-3.1 3.1-3.1-.7-3.1-3.1.7-3.1 3.1-3.1Z" />,
);
export const DvHeadphones = /*#__PURE__*/ createIcon(
'headphones',
<path d="M4.2 13.8v-1.6C4.2 7.2 7.5 4 12 4s7.8 3.2 7.8 8.2v1.6M5.8 12.6c1.7 0 2.4.7 2.4 2.5v2.2c0 1.8-.7 2.5-2.4 2.5s-2.4-.7-2.4-2.5v-2.2c0-1.8.7-2.5 2.4-2.5Zm12.4 0c1.7 0 2.4.7 2.4 2.5v2.2c0 1.8-.7 2.5-2.4 2.5s-2.4-.7-2.4-2.5v-2.2c0-1.8.7-2.5 2.4-2.5Z" />,
);
export const DvBattery = /*#__PURE__*/ createIcon(
'battery',
<path d="M6.8 7.2c2.6-.3 5.2-.3 7.8 0 2.5.2 3.4 1.2 3.6 3.6.1.8.1 1.6 0 2.4-.2 2.4-1.1 3.4-3.6 3.6-2.6.3-5.2.3-7.8 0-2.5-.2-3.4-1.2-3.6-3.6-.1-.8-.1-1.6 0-2.4.2-2.4 1.1-3.4 3.6-3.6ZM20.8 10.2v3.6M7.2 10.4v3.2m3.5-3.2v3.2" />,
);
export const DvPrinter = /*#__PURE__*/ createIcon(
'printer',
<path d="M7.5 8V5.3c0-1.2.6-1.8 1.9-1.8h5.2c1.3 0 1.9.6 1.9 1.8V8M7.5 16.8h-.7c-2.3-.2-3.2-1.1-3.4-3.4-.1-1-.1-1.9 0-2.9.2-2.3 1.1-3.2 3.4-3.4 3.5-.2 6.9-.2 10.4 0 2.3.2 3.2 1.1 3.4 3.4.1 1 .1 1.9 0 2.9-.2 2.3-1.1 3.2-3.4 3.4h-.7M7.5 13.8h9v4.9c0 1.2-.6 1.8-1.9 1.8H9.4c-1.3 0-1.9-.6-1.9-1.8v-4.9Z" />,
);
export const DvPackage = /*#__PURE__*/ createIcon(
'package',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3ZM3.5 9.2h17M10 3.4v5.8m4-5.8v5.8" />,
);
export const DvShoppingBag = /*#__PURE__*/ createIcon(
'shoppingbag',
<path d="M7.6 7.8c2.9-.2 5.9-.2 8.8 0 2.5.2 3.3 1.2 3.5 3.8.2 1.8.2 3.6 0 5.4-.2 2.5-1.1 3.4-3.7 3.6-2.8.2-5.6.2-8.4 0-2.6-.2-3.5-1.1-3.7-3.6-.2-1.8-.2-3.6 0-5.4.2-2.6 1-3.6 3.5-3.8ZM8.6 7.8V6.5c0-2.1 1.3-3.2 3.4-3.2s3.4 1.1 3.4 3.2v1.3" />,
);
export const DvGift = /*#__PURE__*/ createIcon(
'gift',
<path d="M5.6 6.8c4.3-.3 8.5-.3 12.8 0 1.6.1 2.2.7 2.2 2s-.6 1.9-2.2 2c-4.3.3-8.5.3-12.8 0-1.6-.1-2.2-.7-2.2-2s.6-1.9 2.2-2ZM4.8 10.8v5.8c.2 2.5 1.2 3.6 3.8 3.8 2.3.2 4.5.2 6.8 0 2.6-.2 3.6-1.3 3.8-3.8v-5.8M12 6.6v13.8M12 6.6c-1.8 0-3.5-.7-3.5-2 0-1.1 1.1-1.5 2-.9.8.5 1.2 1.6 1.5 2.9Zm0 0c1.8 0 3.5-.7 3.5-2 0-1.1-1.1-1.5-2-.9-.8.5-1.2 1.6-1.5 2.9Z" />,
);
export const DvPin = /*#__PURE__*/ createIcon(
'pin',
<path d="M8.2 4.2c2.5-.3 5.1-.3 7.6 0M9.2 4.2l-.6 5.2c-1.9.7-3 2-3.2 3.8 0 .6.4 1 1 1.1 3.7.3 7.5.3 11.2 0 .6-.1 1-.5 1-1.1-.2-1.8-1.3-3.1-3.2-3.8l-.6-5.2M12 14.5v6" />,
);
export const DvNotebook = /*#__PURE__*/ createIcon(
'notebook',
<path d="M8.8 3.4c2.4-.2 4.8-.2 7.2 0 2.7.3 3.7 1.4 3.9 4.1.2 3 .2 6 0 9-.2 2.7-1.2 3.8-3.9 4.1-2.4.2-4.8.2-7.2 0-2.1-.2-3-1.2-3.1-3.5-.1-3.4-.1-6.8 0-10.2.1-2.3 1-3.3 3.1-3.5ZM4 7.5h3.2M4 12h3.2M4 16.5h3.2M10.5 8.5h5.2m-5.2 3.5h3.2" />,
);
export const DvStopwatch = /*#__PURE__*/ createIcon(
'stopwatch',
<path d="M19.4 13.2a7.4 7.4 0 1 1-14.8 0 7.4 7.4 0 0 1 14.8 0ZM9.5 3.2h5M12 3.2v2.5M12 9.5v3.7l2.5 1.6" />,
);
export const DvPlug = /*#__PURE__*/ createIcon(
'plug',
<path d="M9 3.5v4.3m6-4.3v4.3M7.8 7.8c2.8-.2 5.6-.2 8.4 0 1.4.1 2 .7 2.1 2.1.1 1.3-.2 2.7-.8 3.8-1 1.8-2.9 2.8-5.5 2.8s-4.5-1-5.5-2.8c-.6-1.1-.9-2.5-.8-3.8.1-1.4.7-2 2.1-2.1ZM12 16.5v4" />,
);
// Controls & Actions
export const DvMinus = /*#__PURE__*/ createIcon('minus', <path d="M5 12h14" />);
export const DvMenu = /*#__PURE__*/ createIcon(
'menu',
<path d="M4.5 6.5h15M4.5 12h15M4.5 17.5h15" />,
);
export const DvDotsVertical = /*#__PURE__*/ createIcon(
'dotsvertical',
<g fill="currentColor">
<circle cx="12" cy="5.5" r="0.65" />
<circle cx="12" cy="12" r="0.65" />
<circle cx="12" cy="18.5" r="0.65" />
</g>,
);
export const DvToggleOff = /*#__PURE__*/ createIcon(
'toggleoff',
<path d="M8.5 6.8c2.3-.2 4.7-.2 7 0 3.4.3 5.2 2 5.2 5.2s-1.8 4.9-5.2 5.2c-2.3.2-4.7.2-7 0-3.4-.3-5.2-2-5.2-5.2s1.8-4.9 5.2-5.2ZM8.5 9.6c1.8 0 2.4.6 2.4 2.4s-.6 2.4-2.4 2.4-2.4-.6-2.4-2.4.6-2.4 2.4-2.4Z" />,
);
export const DvZoomIn = /*#__PURE__*/ createIcon(
'zoomin',
<path d="M17 10.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0Zm-1.5 5 4.8 4.8M10.5 8v5M8 10.5h5" />,
);
export const DvZoomOut = /*#__PURE__*/ createIcon(
'zoomout',
<path d="M17 10.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0Zm-1.5 5 4.8 4.8M8 10.5h5" />,
);
export const DvMaximize = /*#__PURE__*/ createIcon(
'maximize',
<path d="M14.5 4h4.2c.9 0 1.3.4 1.3 1.3v4.2M19.5 4.5 14 10M9.5 20H5.3c-.9 0-1.3-.4-1.3-1.3v-4.2M4.5 19.5 10 14" />,
);
export const DvMinimize = /*#__PURE__*/ createIcon(
'minimize',
<path d="M4 9.5h4.2c.9 0 1.3-.4 1.3-1.3V4M9 9 3.8 3.8M20 14.5h-4.2c-.9 0-1.3.4-1.3 1.3V20M15 15l5.2 5.2" />,
);
export const DvRotateRight = /*#__PURE__*/ createIcon(
'rotateright',
<path d="M20 9a8 8 0 1 0-.5 7m1-11.5V9c0 .6-.3.9-.9.9H15" />,
);
export const DvSignIn = /*#__PURE__*/ createIcon(
'signin',
<path d="M11.5 4c1.8-.3 3.6-.4 5.4-.2 2.4.2 3.3 1.2 3.5 3.7.2 3 .2 6 0 9-.2 2.5-1.1 3.5-3.5 3.7-1.8.2-3.6.1-5.4-.2M3.7 12H14M10.4 7.3c1.6 1 3 2.3 4.1 3.9.4.5.4 1.1 0 1.6-1.1 1.6-2.5 2.9-4.1 3.9" />,
);
// Media & Devices
export const DvMicrophoneOff = /*#__PURE__*/ createIcon(
'microphoneoff',
<path d="m4 4 16 16M8.5 8.5v2.6c0 2.2.9 3.5 2.8 3.8M9 4.5C9.7 3.5 10.7 3 12 3c2.3 0 3.5 1.3 3.5 3.9v3.6M5 11c0 4.7 2.3 7 7 7 1.4 0 2.7-.2 3.7-.7M18.8 12.8c.1-.6.2-1.2.2-1.8M12 18v3m-3.5 0h7" />,
);
export const DvVideoOff = /*#__PURE__*/ createIcon(
'videooff',
<path d="m4 4 16 16M9.5 5.3c.9-.1 1.9-.1 2.8.1 2.6.2 3.5 1.3 3.7 3.9v1.5M4.5 6.8c-.6.7-.8 1.6-.9 2.5-.1 1.8-.1 3.6 0 5.4.2 2.6 1.1 3.7 3.7 3.9 1.7.2 3.3.2 5 0 1.2-.1 2.1-.4 2.7-1M16.1 9.7l3.4-2.3c.7-.5 1.2-.2 1.2.6.1 2.1.2 4.1.1 6.2" />,
);
export const DvBellOff = /*#__PURE__*/ createIcon(
'belloff',
<path d="m4 4 16 16M8.6 4.9C9.6 4.3 10.7 4 12 4c3.9 0 5.8 2.1 5.8 6.3 0 1.4.1 2.6.4 3.6M6.2 9.2v1.1c0 2.2-.2 3.8-1 5-.6.9-.3 1.5.8 1.7 3.2.5 6.4.6 9.6.3M9.5 20c1.5 1.3 3.5 1.3 5 0M12 2v2" />,
);
export const DvBatteryCharging = /*#__PURE__*/ createIcon(
'batterycharging',
<path d="M8.5 7.1H6.8c-2.5.2-3.4 1.2-3.6 3.6-.1.8-.1 1.6 0 2.4.2 2.4 1.1 3.4 3.6 3.6h1.7m6.1-9.6c2.5.2 3.4 1.2 3.6 3.6.1.8.1 1.6 0 2.4-.2 2.4-1.1 3.4-3.6 3.6M20.8 10.2v3.6M12.2 7.5 9.8 12h3.4l-2.4 4.5" />,
);
export const DvLaptop = /*#__PURE__*/ createIcon(
'laptop',
<path d="M7.6 5c2.9-.2 5.9-.2 8.8 0 2.4.2 3.3 1.2 3.5 3.6.1 2.1.1 4.2 0 6.3H4.1c-.1-2.1-.1-4.2 0-6.3.2-2.4 1.1-3.4 3.5-3.6ZM3 17.6c6 .4 12 .4 18 0" />,
);
export const DvSpeaker = /*#__PURE__*/ createIcon(
'speaker',
<path d="M8.5 3.4c2.3-.2 4.7-.2 7 0 2.5.2 3.4 1.2 3.6 3.7.2 3.3.2 6.5 0 9.8-.2 2.5-1.1 3.5-3.6 3.7-2.3.2-4.7.2-7 0-2.5-.2-3.4-1.2-3.6-3.7-.2-3.3-.2-6.5 0-9.8.2-2.5 1.1-3.5 3.6-3.7ZM12 7.5h.01M12 11.4c2.1 0 2.8.7 2.8 2.8S14.1 17 12 17s-2.8-.7-2.8-2.8.7-2.8 2.8-2.8Z" />,
);
export const DvTv = /*#__PURE__*/ createIcon(
'tv',
<path d="M7.5 4.4c3-.3 6-.3 9 0 2.8.3 3.8 1.4 4 4.2.1 1.6.1 3.2 0 4.8-.2 2.8-1.2 3.9-4 4.2-3 .3-6 .3-9 0-2.8-.3-3.8-1.4-4-4.2-.1-1.6-.1-3.2 0-4.8.2-2.8 1.2-3.9 4-4.2ZM8.5 17.6 7 20.5m8.5-2.9 1.5 2.9" />,
);
export const DvKeyboard = /*#__PURE__*/ createIcon(
'keyboard',
<path d="M7.2 5.4c3.2-.3 6.4-.3 9.6 0 2.8.3 3.8 1.4 4 4.2.1 1.6.1 3.2 0 4.8-.2 2.8-1.2 3.9-4 4.2-3.2.3-6.4.3-9.6 0-2.8-.3-3.8-1.4-4-4.2-.1-1.6-.1-3.2 0-4.8.2-2.8 1.2-3.9 4-4.2ZM7.5 9.5h.01M10.5 9.5h.01M13.5 9.5h.01M16.5 9.5h.01M8.5 12.5h.01M12 12.5h.01M15.5 12.5h.01M8.5 15.5h7" />,
);
// Data, Charts & Finance
export const DvChartPie = /*#__PURE__*/ createIcon(
'chartpie',
<path d="M12 3.5a8.5 8.5 0 1 0 8.5 8.5h-7.2c-.8 0-1.3-.5-1.3-1.3V3.5ZM15.2 4.1a8.5 8.5 0 0 1 4.7 4.7" />,
);
export const DvTrendDown = /*#__PURE__*/ createIcon(
'trenddown',
<path d="M3.8 7.5c2.2 2.3 4.1 4.2 5.2 5.1.6.5 1.3.5 1.9-.1l1.7-1.7c.6-.6 1.3-.6 1.9 0l5.3 5.5M14.5 16.8h4.7c.9 0 1.3-.4 1.3-1.3v-4.7" />,
);
export const DvActivity = /*#__PURE__*/ createIcon(
'activity',
<path d="M3.5 12h3.2c.6 0 1-.3 1.2-.9l1.8-5.4c.2-.6.8-.6 1 0l2.6 12.6c.2.6.8.6 1 0l1.8-5.4c.2-.6.6-.9 1.2-.9h3.2" />,
);
export const DvDollar = /*#__PURE__*/ createIcon(
'dollar',
<path d="M12 3v18m4.5-13.8c-.6-1.3-2.1-2-4.2-2-2.4 0-4.3 1.1-4.3 3.2 0 4.2 8.8 2.6 8.8 7 0 2.2-1.9 3.4-4.5 3.4-2.4 0-4-.8-4.8-2.2" />,
);
export const DvPercent = /*#__PURE__*/ createIcon(
'percent',
<path d="M18.5 5.5 5.5 18.5M7.5 5.2c1.8 0 2.3.5 2.3 2.3s-.5 2.3-2.3 2.3-2.3-.5-2.3-2.3.5-2.3 2.3-2.3Zm9 9c1.8 0 2.3.5 2.3 2.3s-.5 2.3-2.3 2.3-2.3-.5-2.3-2.3.5-2.3 2.3-2.3Z" />,
);
export const DvCalculator = /*#__PURE__*/ createIcon(
'calculator',
<path d="M8.5 3.4c2.3-.2 4.7-.2 7 0 2.5.2 3.4 1.2 3.6 3.7.2 3.3.2 6.5 0 9.8-.2 2.5-1.1 3.5-3.6 3.7-2.3.2-4.7.2-7 0-2.5-.2-3.4-1.2-3.6-3.7-.2-3.3-.2-6.5 0-9.8.2-2.5 1.1-3.5 3.6-3.7ZM8.5 7.8h7M8.5 12h.01M12 12h.01M15.5 12h.01M8.5 15.8h.01M12 15.8h.01M15.5 15.8h.01" />,
);
export const DvBank = /*#__PURE__*/ createIcon(
'bank',
<path d="M4.2 8.6 11.2 4c.5-.3 1.1-.3 1.6 0l7 4.6c.7.5.5 1.2-.4 1.2H4.6c-.9 0-1.1-.7-.4-1.2ZM6.5 10v7m5.5-7v7m5.5-7v7M4 20.2c5.3-.3 10.7-.3 16 0" />,
);
export const DvCoins = /*#__PURE__*/ createIcon(
'coins',
<path d="M9.5 4.5c3.6 0 5 1.4 5 5s-1.4 5-5 5-5-1.4-5-5 1.4-5 5-5Zm5.2 5.2c3.2.2 4.8 1.6 4.8 4.8 0 3.6-1.4 5-5 5-3.2 0-4.6-1.6-4.8-4.8" />,
);
// Communication & Social
export const DvAtSign = /*#__PURE__*/ createIcon(
'atsign',
<path d="M15.5 12a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Zm0 0v1.4c0 1.4 1 2.4 2.3 2.4 1.6 0 2.7-1.4 2.7-3.8A8.5 8.5 0 1 0 12 20.5c1.8 0 3.5-.5 4.8-1.4" />,
);
export const DvHash = /*#__PURE__*/ createIcon(
'hash',
<path d="M4.5 9h15M4.5 15h15M10 4 8 20m8-16-2 16" />,
);
export const DvPhoneCall = /*#__PURE__*/ createIcon(
'phonecall',
<path d="M6.4 4.2c1.1-.5 2.1-.1 2.7 1l1.1 2.1c.5 1 .3 1.9-.5 2.6l-1 .8c.9 1.9 2.4 3.4 4.3 4.3l.8-1c.7-.8 1.6-1 2.6-.5l2.1 1.1c1.1.6 1.5 1.6 1 2.7-.8 1.8-2.4 2.8-4.4 2.6-5.2-.5-10.5-5.8-11-11-.2-2 .8-3.6 2.3-4.7Z" />,
);
export const DvMegaphone = /*#__PURE__*/ createIcon(
'megaphone',
<path d="M17.2 4.8c1.1-.5 2 .1 2.1 1.3.2 3.1.2 6.3 0 9.4-.1 1.2-1 1.8-2.1 1.3-2.6-1.2-5.4-2-8.2-2.2H6.5c-1.8 0-2.7-.9-2.8-2.7v-2.2c.1-1.8 1-2.7 2.8-2.7H9c2.8-.2 5.6-1 8.2-2.2ZM7.5 14.6l1.3 4.6c.2.8.9 1.2 1.7 1h.5" />,
);
export const DvThumbsUp = /*#__PURE__*/ createIcon(
'thumbsup',
<path d="M7.5 10.5H5.2c-1 0-1.5.5-1.6 1.5-.1 2-.1 4 0 6 .1 1 .6 1.5 1.6 1.5h2.3m0-9v9m0-9 2.9-5.3c.6-1.1 1.9-1.3 2.8-.4.6.6.8 1.4.6 2.3l-.5 2.6h4.2c1.8 0 2.8 1.1 2.6 2.9l-.6 4.4c-.3 1.9-1.4 2.9-3.3 2.9H7.5" />,
);
export const DvThumbsDown = /*#__PURE__*/ createIcon(
'thumbsdown',
<path d="M7.5 13.5H5.2c-1 0-1.5-.5-1.6-1.5-.1-2-.1-4 0-6 .1-1 .6-1.5 1.6-1.5h2.3m0 9v-9m0 9 2.9 5.3c.6 1.1 1.9 1.3 2.8.4.6-.6.8-1.4.6-2.3l-.5-2.6h4.2c1.8 0 2.8-1.1 2.6-2.9l-.6-4.4c-.3-1.9-1.4-2.9-3.3-2.9H7.5" />,
);
export const DvFlag = /*#__PURE__*/ createIcon(
'flag',
<path d="M5.5 20.5V4.8m0 .4c3-1.3 5.5-1.3 8 0s5 1.3 5.5 0v8.6c-.5 1.3-3 1.3-5.5 0s-5-1.3-8 0" />,
);
// Files, Text & Editing
export const DvFolderPlus = /*#__PURE__*/ createIcon(
'folderplus',
<path d="M3.2 9.3V7.5c0-2.2 1.1-3.3 3.3-3.3h1.7c.9 0 1.4.3 1.9 1l.7 1c.4.6 1 .9 1.8.9h4.9c2.1 0 3.1 1 3.3 3.1.2 2.2.2 4.5 0 6.7-.2 2.3-1.2 3.2-3.6 3.4-3.5.2-6.9.2-10.4 0-2.4-.2-3.4-1.1-3.6-3.4-.2-2.5-.2-5.1 0-7.6ZM12 11.2v4.6M9.7 13.5h4.6" />,
);
export const DvFolderOpen = /*#__PURE__*/ createIcon(
'folderopen',
<path d="M3.5 17.2V7.4c0-2.1 1.1-3.2 3.2-3.2h1.6c.9 0 1.4.3 1.9 1l.7 1c.4.6 1 .9 1.8.9h4.1c1.8 0 2.7.8 2.9 2.5M6.2 10.6h12.2c1.6 0 2.4.9 2.1 2.5l-.8 4.1c-.4 1.9-1.4 2.7-3.4 2.8-3 .2-6 .2-9 0-2.2-.1-3.2-1-3.5-3.1l-.4-3.2c-.2-1.9.8-3.1 2.8-3.1Z" />,
);
export const DvScissors = /*#__PURE__*/ createIcon(
'scissors',
<path d="M6.8 4.4c1.9 0 2.4.5 2.4 2.4s-.5 2.4-2.4 2.4-2.4-.5-2.4-2.4.5-2.4 2.4-2.4Zm0 10.4c1.9 0 2.4.5 2.4 2.4s-.5 2.4-2.4 2.4-2.4-.5-2.4-2.4.5-2.4 2.4-2.4Zm2 1 10.7-9.6M13.6 13.4l5.9 5.3M8.8 8.2l3 2.7" />,
);
export const DvCrop = /*#__PURE__*/ createIcon(
'crop',
<path d="M7.5 3.5v10.2c0 2 .8 2.8 2.8 2.8h10.2M3.5 7.5h10.2c2 0 2.8.8 2.8 2.8v10.2" />,
);
export const DvBold = /*#__PURE__*/ createIcon(
'bold',
<path d="M6.5 4.8h6.2c2.4 0 4 1.3 4 3.5s-1.5 3.5-3.8 3.5H6.5V4.8Zm0 7h7c2.6 0 4.2 1.4 4.2 3.7s-1.6 3.7-4.2 3.7h-7v-7.4Z" />,
);
export const DvItalic = /*#__PURE__*/ createIcon(
'italic',
<path d="M10.5 4.5h7M6.5 19.5h7M14.2 4.5l-4.4 15" />,
);
export const DvAlignLeft = /*#__PURE__*/ createIcon(
'alignleft',
<path d="M4.5 6h15M4.5 10h10M4.5 14h15M4.5 18h10" />,
);
export const DvList = /*#__PURE__*/ createIcon(
'list',
<path d="M9.5 6.5h10M9.5 12h10M9.5 17.5h10M5 6.5h.01M5 12h.01M5 17.5h.01" />,
);
// Objects, Weather & Utility
export const DvCloud = /*#__PURE__*/ createIcon(
'cloud',
<path d="M7.5 18.5H6.8a3.8 3.8 0 0 1-.6-7.5A6.2 6.2 0 0 1 18 9a4.6 4.6 0 0 1 .4 9.2c-3.6.3-7.3.4-10.9.3Z" />,
);
export const DvCloudDownload = /*#__PURE__*/ createIcon(
'clouddownload',
<path d="M6.7 17.5H6a3.7 3.7 0 0 1-.7-7.3A6.2 6.2 0 0 1 17.4 8a4.8 4.8 0 0 1 .6 9.5h-.7M12 11.2V21m-3.5-3.5 2.8 2.8c.4.4 1 .4 1.4 0l2.8-2.8" />,
);
export const DvFlame = /*#__PURE__*/ createIcon(
'flame',
<path d="M12.2 3.5c2.6 2.5 6.3 5.8 6.3 10.1 0 4.1-2.8 6.9-6.5 6.9s-6.5-2.8-6.5-6.9c0-2.4 1.1-4.5 2.6-6.2.4 1.4 1.3 2.2 2.4 2.4-.5-2.3.1-4.5 1.7-6.3Z" />,
);
export const DvAward = /*#__PURE__*/ createIcon(
'award',
<path d="M12 3.5c4 0 5.5 1.5 5.5 5.5s-1.5 5.5-5.5 5.5S6.5 13 6.5 9 8 3.5 12 3.5Zm-3.2 10.6-.8 6.2c-.1.6.4.9.9.6l3.1-1.9 3.1 1.9c.5.3 1 0 .9-.6l-.8-6.2" />,
);
export const DvTarget = /*#__PURE__*/ createIcon(
'target',
<path d="M20.5 12a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0Zm-4.2 0a4.3 4.3 0 1 1-8.6 0 4.3 4.3 0 0 1 8.6 0ZM12 12h.01" />,
);
export const DvLightbulb = /*#__PURE__*/ createIcon(
'lightbulb',
<path d="M9.2 16.5c-.2-1.4-.9-2.4-1.8-3.4A6.2 6.2 0 0 1 12 3.5a6.2 6.2 0 0 1 4.6 9.6c-.9 1-1.6 2-1.8 3.4M9.2 17h5.6M10 20.2c1.3.2 2.7.2 4 0" />,
);
export const DvWifi = /*#__PURE__*/ createIcon(
'wifi',
<path d="M3.6 9.2a12 12 0 0 1 16.8 0M6.4 12.4a8.2 8.2 0 0 1 11.2 0M9.2 15.6a4.4 4.4 0 0 1 5.6 0M12 18.8h.01" />,
);
export const DvWifiOff = /*#__PURE__*/ createIcon(
'wifioff',
<path d="m4 4 16 16M3.6 9.2c.6-.5 1.3-.9 2-1.3m4.9-1.7a12 12 0 0 1 9.9 3M6.4 12.4a8.2 8.2 0 0 1 2.2-1.3m5.6-.5a8.2 8.2 0 0 1 3.4 1.8M9.2 15.6a4.4 4.4 0 0 1 3.6-1M12 18.8h.01" />,
);
export const DvWatch = /*#__PURE__*/ createIcon(
'watch',
<path d="M9 6.2c2-.2 4-.2 6 0 2.2.2 3 1 3.2 3.2.2 1.7.2 3.5 0 5.2-.2 2.2-1 3-3.2 3.2-2 .2-4 .2-6 0-2.2-.2-3-1-3.2-3.2-.2-1.7-.2-3.5 0-5.2.2-2.2 1-3 3.2-3.2Zm.2-.1.4-1.8c.2-.8.7-1.1 1.6-1.1h1.6c.9 0 1.4.3 1.6 1.1l.4 1.8m-5.6 11.8.4 1.8c.2.8.7 1.1 1.6 1.1h1.6c.9 0 1.4-.3 1.6-1.1l.4-1.8M12 9.4V12l1.8 1.2" />,
);
export const DvTrophy = /*#__PURE__*/ createIcon(
'trophy',
<path d="M7.2 4.2c3.2-.3 6.4-.3 9.6 0 .4 0 .7.3.7.8.1 5-1.1 9-5.5 9s-5.6-4-5.5-9c0-.5.3-.8.7-.8ZM6.5 6.4H5.2c-1.2 0-1.7.6-1.7 1.8 0 1.9 1.2 3.1 3.3 3.4m10.7-5.2h1.3c1.2 0 1.7.6 1.7 1.8 0 1.9-1.2 3.1-3.3 3.4M12 14v5.6M8.2 19.8c2.5-.3 5.1-.3 7.6 0" />,
);
export const DvAgent = /*#__PURE__*/ createIcon(
'agent',
<path d="M8.2 7.6c2.5-.2 5.1-.2 7.6 0 2.6.2 3.5 1.2 3.7 3.8.2 1.6.2 3.2 0 4.8-.2 2.6-1.1 3.6-3.7 3.8-2.5.2-5.1.2-7.6 0-2.6-.2-3.5-1.2-3.7-3.8-.2-1.6-.2-3.2 0-4.8.2-2.6 1.1-3.6 3.7-3.8ZM12 3.8v3.6M2.8 13.8h1.6m15.2 0h1.6M9.2 13v1.6m5.6-1.6v1.6" />,
);
export const DvUsage = /*#__PURE__*/ createIcon(
'usage',
<path d="M5.1 18.3a8.4 8.4 0 1 1 13.8 0M13.8 13.5a1.8 1.8 0 1 1-3.6 0 1.8 1.8 0 0 1 3.6 0Zm-.5-1.3L16 9.5" />,
);
export const DvJson = /*#__PURE__*/ createIcon(
'json',
<path d="M9 4.2C7.2 4.2 6.4 5.1 6.4 7v2.4c0 1.3-.6 2.1-2 2.6 1.4.5 2 1.3 2 2.6V17c0 1.9.8 2.8 2.6 2.8m6-15.6c1.8 0 2.6.9 2.6 2.8v2.4c0 1.3.6 2.1 2 2.6-1.4.5-2 1.3-2 2.6V17c0 1.9-.8 2.8-2.6 2.8M12 9.8h.01M12 14.2h.01" />,
);
export const DvDrag = /*#__PURE__*/ createIcon(
'drag',
<g fill="currentColor">
<circle cx="8.8" cy="5.5" r="0.65" />
<circle cx="15.2" cy="5.5" r="0.65" />
<circle cx="8.8" cy="12" r="0.65" />
<circle cx="15.2" cy="12" r="0.65" />
<circle cx="8.8" cy="18.5" r="0.65" />
<circle cx="15.2" cy="18.5" r="0.65" />
</g>,
);
export const DvToken = /*#__PURE__*/ createIcon(
'token',
<path d="M12 3.5c5.8 0 8.5 2.7 8.5 8.5s-2.7 8.5-8.5 8.5-8.5-2.7-8.5-8.5 2.7-8.5 8.5-8.5Zm0 4.3c.5 2.1 2.1 3.7 4.2 4.2-2.1.5-3.7 2.1-4.2 4.2-.5-2.1-2.1-3.7-4.2-4.2 2.1-.5 3.7-2.1 4.2-4.2Z" />,
);
export const DvServer = /*#__PURE__*/ createIcon(
'server',
<path d="M7.5 3.5c3-.2 6-.2 9 0 2.5.2 3.5 1.1 3.7 3.4v.2c-.2 2.3-1.2 3.2-3.7 3.4-3 .2-6 .2-9 0C5 10.3 4 9.4 3.8 7.1v-.2C4 4.6 5 3.7 7.5 3.5Zm0 10c3-.2 6-.2 9 0 2.5.2 3.5 1.1 3.7 3.4v.2c-.2 2.3-1.2 3.2-3.7 3.4-3 .2-6 .2-9 0-2.5-.2-3.5-1.1-3.7-3.4v-.2c.2-2.3 1.2-3.2 3.7-3.4ZM7.5 7h.01M11.5 7h5M7.5 17h.01M11.5 17h5" />,
);
export const DvTable = /*#__PURE__*/ createIcon(
'table',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3ZM3.4 9.2h17.2M3.4 14.8h17.2M10.2 9.2v11.4" />,
);
export const DvColumns = /*#__PURE__*/ createIcon(
'columns',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3ZM12 3.3v17.4" />,
);
export const DvFocus = /*#__PURE__*/ createIcon(
'focus',
<path d="M8.5 3.8H6.2c-1.6 0-2.4.8-2.4 2.4v2.3m11.7-4.7h2.3c1.6 0 2.4.8 2.4 2.4v2.3M3.8 15.5v2.3c0 1.6.8 2.4 2.4 2.4h2.3m11.7-4.7v2.3c0 1.6-.8 2.4-2.4 2.4h-2.3M12 9.2c2.1 0 2.8.7 2.8 2.8s-.7 2.8-2.8 2.8-2.8-.7-2.8-2.8.7-2.8 2.8-2.8Z" />,
);
export const DvHistory = /*#__PURE__*/ createIcon(
'history',
<path d="M4.3 9.2a8.2 8.2 0 1 1 .6 6.9M3.6 4.6v4.2c0 .6.3.9.9.9h4.2M12 7.8V12l2.8 1.8" />,
);
export const DvUndo = /*#__PURE__*/ createIcon(
'undo',
<path d="M5.5 9.2h9.2c3.2 0 5.3 2 5.3 5s-2.1 5-5.3 5H9.5M9.2 5.2C7.6 6.3 6.2 7.5 5 8.8c-.3.3-.3.7 0 1 1.2 1.3 2.6 2.5 4.2 3.6" />,
);
export const DvRedo = /*#__PURE__*/ createIcon(
'redo',
<path d="M18.5 9.2H9.3c-3.2 0-5.3 2-5.3 5s2.1 5 5.3 5h5.2M14.8 5.2c1.6 1.1 3 2.3 4.2 3.6.3.3.3.7 0 1-1.2 1.3-2.6 2.5-4.2 3.6" />,
);
export const DvSort = /*#__PURE__*/ createIcon(
'sort',
<path d="M8 19.5V5M4.4 8.2c1-1.3 2.1-2.5 3.2-3.5.3-.3.5-.3.8 0 1.1 1 2.2 2.2 3.2 3.5M16 4.5V19m-3.6-3.2c1 1.3 2.1 2.5 3.2 3.5.3.3.5.3.8 0 1.1-1 2.2-2.2 3.2-3.5" />,
);
export const DvBroadcast = /*#__PURE__*/ createIcon(
'broadcast',
<path d="M12 10.2c1.3 0 1.8.5 1.8 1.8s-.5 1.8-1.8 1.8-1.8-.5-1.8-1.8.5-1.8 1.8-1.8ZM8.1 8.5a5.2 5.2 0 0 0 0 7m7.8-7a5.2 5.2 0 0 1 0 7M5.8 5.8a8.8 8.8 0 0 0 0 12.4m12.4-12.4a8.8 8.8 0 0 1 0 12.4" />,
);
export const DvUserPlus = /*#__PURE__*/ createIcon(
'userplus',
<path d="M5.9 7.4c0-2.4 1.2-3.6 3.6-3.6s3.6 1.2 3.6 3.6S11.9 11 9.5 11 5.9 9.8 5.9 7.4ZM3.2 19.8c.3-3.9 2.3-5.8 6.3-5.8s6 1.9 6.3 5.8M18.5 8v5M16 10.5h5" />,
);
export const DvShield = /*#__PURE__*/ createIcon(
'shield',
<path d="M11.4 3.4c.4-.2.8-.2 1.2 0 2.1 1.3 4 2 6.4 2.3.7.1 1 .4 1.1 1.1.3 1.4.3 3 .1 4.5-.5 4.7-3.3 7.6-7.3 9.4-.6.3-1.2.3-1.8 0-4-1.8-6.8-4.7-7.3-9.4-.2-1.5-.2-3.1.1-4.5.1-.7.4-1 1.1-1.1 2.4-.3 4.3-1 6.4-2.3Z" />,
);
export const DvMailOpen = /*#__PURE__*/ createIcon(
'mailopen',
<path d="M20.4 9.5c.1 2.4.1 4.7 0 7.1-.2 2.5-1.3 3.5-4 3.8-2.9.2-5.9.2-8.8 0-2.7-.3-3.8-1.3-4-3.8-.1-2.4-.1-4.7 0-7.1 0-.7.3-1.2.9-1.6l6.4-4.1c.7-.4 1.5-.4 2.2 0l6.4 4.1c.6.4.9.9.9 1.6ZM4 9.5l6.5 4.4c1 .7 2 .7 3 0L20 9.5" />,
);
export const DvBug = /*#__PURE__*/ createIcon(
'bug',
<path d="M9.5 8.2c1.7-.2 3.3-.2 5 0 2 .2 2.7 1.1 2.9 3.3.2 1.8.2 3.6 0 5.4-.2 2.3-1.1 3.3-3.4 3.5-1.3.1-2.7.1-4 0-2.3-.2-3.2-1.2-3.4-3.5-.2-1.8-.2-3.6 0-5.4.2-2.2.9-3.1 2.9-3.3ZM9 8.1v-.4c0-1.9 1.1-2.9 3-2.9s3 1 3 2.9v.4M9.8 5.2 8.2 3.4m6 1.8 1.6-1.8M12 12.2v8M6.7 11.2H3.8M6.7 15.6H3.8m13.5-4.4h2.9m-2.9 4.4h2.9" />,
);
export const DvDiff = /*#__PURE__*/ createIcon(
'diff',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3ZM12 7v4.8M9.6 9.4h4.8M9.6 16h4.8" />,
);
export const DvCube = /*#__PURE__*/ createIcon(
'cube',
<path d="M10.7 4.1c.8-.5 1.8-.5 2.6 0l5 2.9c.8.5 1.3 1.3 1.3 2.2v5.6c0 .9-.5 1.7-1.3 2.2l-5 2.9c-.8.5-1.8.5-2.6 0l-5-2.9c-.8-.5-1.3-1.3-1.3-2.2V9.2c0-.9.5-1.7 1.3-2.2l5-2.9ZM4.9 8.1 12 12l7.1-3.9M12 12v8.2" />,
);
// Form & Inputs
export const DvButton = /*#__PURE__*/ createIcon(
'button',
<path d="M7.2 7.2c3.2-.3 6.4-.3 9.6 0 2.7.2 3.8 1.2 4 3.8.1.7.1 1.3 0 2-.2 2.6-1.3 3.6-4 3.8-3.2.3-6.4.3-9.6 0-2.7-.2-3.8-1.2-4-3.8-.1-.7-.1-1.3 0-2 .2-2.6 1.3-3.6 4-3.8ZM9 12h6" />,
);
export const DvButtonGroup = /*#__PURE__*/ createIcon(
'buttongroup',
<path d="M7.2 7.2c3.2-.3 6.4-.3 9.6 0 2.7.2 3.8 1.2 4 3.8.1.7.1 1.3 0 2-.2 2.6-1.3 3.6-4 3.8-3.2.3-6.4.3-9.6 0-2.7-.2-3.8-1.2-4-3.8-.1-.7-.1-1.3 0-2 .2-2.6 1.3-3.6 4-3.8ZM9.3 7.2v9.6m5.4-9.6v9.6" />,
);
export const DvCheckbox = /*#__PURE__*/ createIcon(
'checkbox',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3ZM8.2 12.2l2.4 2.5c.3.3.7.3 1 0l4.6-5.2" />,
);
export const DvDatePicker = /*#__PURE__*/ createIcon(
'datepicker',
<path d="M7.5 3.2v3m9-3v3M7.7 5c2.9-.2 5.7-.2 8.6 0 2.9.3 3.9 1.3 4.1 4.1.2 2.5.2 5 0 7.5-.2 2.8-1.2 3.8-4.1 4.1-2.9.2-5.7.2-8.6 0-2.9-.3-3.9-1.3-4.1-4.1-.2-2.5-.2-5 0-7.5.2-2.8 1.2-3.8 4.1-4.1ZM3.6 9.8h16.8M13.8 13.5c1.3 0 1.8.5 1.8 1.8s-.5 1.8-1.8 1.8-1.8-.5-1.8-1.8.5-1.8 1.8-1.8ZM8 15.3h.01" />,
);
export const DvFileUpload = /*#__PURE__*/ createIcon(
'fileupload',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3ZM12 16.2V8.4m-3 2.9 2.5-2.5c.3-.3.7-.3 1 0l2.5 2.5" />,
);
export const DvInput = /*#__PURE__*/ createIcon(
'input',
<path d="M7.2 6.8c3.2-.3 6.4-.3 9.6 0 2.7.2 3.8 1.2 4 3.9.1.9.1 1.7 0 2.6-.2 2.7-1.3 3.7-4 3.9-3.2.3-6.4.3-9.6 0-2.7-.2-3.8-1.2-4-3.9-.1-.9-.1-1.7 0-2.6.2-2.7 1.3-3.7 4-3.9ZM8 9.8v4.4M11.2 12h4.6" />,
);
export const DvNumberInput = /*#__PURE__*/ createIcon(
'numberinput',
<path d="M7.2 6.8c3.2-.3 6.4-.3 9.6 0 2.7.2 3.8 1.2 4 3.9.1.9.1 1.7 0 2.6-.2 2.7-1.3 3.7-4 3.9-3.2.3-6.4.3-9.6 0-2.7-.2-3.8-1.2-4-3.9-.1-.9-.1-1.7 0-2.6.2-2.7 1.3-3.7 4-3.9ZM6.4 12h2.8m5.6 0h2.8m-1.4-1.4v2.8" />,
);
export const DvOtpInput = /*#__PURE__*/ createIcon(
'otpinput',
<path d="M4 7c.5-.1 1.1-.1 1.6 0 1 .1 1.4.6 1.5 1.8.1 2.1.1 4.3 0 6.4-.1 1.2-.5 1.7-1.5 1.8-.5.1-1.1.1-1.6 0-1-.1-1.4-.6-1.5-1.8-.1-2.1-.1-4.3 0-6.4.1-1.2.5-1.7 1.5-1.8Zm7.2 0c.5-.1 1.1-.1 1.6 0 1 .1 1.4.6 1.5 1.8.1 2.1.1 4.3 0 6.4-.1 1.2-.5 1.7-1.5 1.8-.5.1-1.1.1-1.6 0-1-.1-1.4-.6-1.5-1.8-.1-2.1-.1-4.3 0-6.4.1-1.2.5-1.7 1.5-1.8Zm7.2 0c.5-.1 1.1-.1 1.6 0 1 .1 1.4.6 1.5 1.8.1 2.1.1 4.3 0 6.4-.1 1.2-.5 1.7-1.5 1.8-.5.1-1.1.1-1.6 0-1-.1-1.4-.6-1.5-1.8-.1-2.1-.1-4.3 0-6.4.1-1.2.5-1.7 1.5-1.8Z" />,
);
export const DvRadio = /*#__PURE__*/ createIcon(
'radio',
<>
<path d="M20.5 12a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0Z" />
<circle cx="12" cy="12" r="3.4" fill="currentColor" stroke="none" />
</>,
);
export const DvRating = /*#__PURE__*/ createIcon(
'rating',
<path d="M12 3.5c.9 0 1 2.2 2.2 3.1 1.2.9 3.2.2 3.5 1 .3.8-1.7 1.5-2.2 2.9-.5 1.4.8 3.1.1 3.6-.7.5-1.9-1.2-3.6-1.2s-2.9 1.7-3.6 1.2c-.7-.5.6-2.2.1-3.6-.5-1.4-2.5-2.1-2.2-2.9.3-.8 2.3-.1 3.5-1 1.2-.9 1.3-3.1 2.2-3.1ZM6.5 19.5h.01M12 19.5h.01M17.5 19.5h.01" />,
);
export const DvSelect = /*#__PURE__*/ createIcon(
'select',
<path d="M7.2 6.8c3.2-.3 6.4-.3 9.6 0 2.7.2 3.8 1.2 4 3.9.1.9.1 1.7 0 2.6-.2 2.7-1.3 3.7-4 3.9-3.2.3-6.4.3-9.6 0-2.7-.2-3.8-1.2-4-3.9-.1-.9-.1-1.7 0-2.6.2-2.7 1.3-3.7 4-3.9ZM6.8 12h4.2m3.2-1c.5.7 1.1 1.3 1.7 1.8.2.2.4.2.6 0 .6-.5 1.2-1.1 1.7-1.8" />,
);
export const DvSwitch = /*#__PURE__*/ createIcon(
'switch',
<>
<path d="M8.5 6.8c2.3-.2 4.7-.2 7 0 3.4.3 5.2 2 5.2 5.2s-1.8 4.9-5.2 5.2c-2.3.2-4.7.2-7 0-3.4-.3-5.2-2-5.2-5.2s1.8-4.9 5.2-5.2Z" />
<circle cx="15.4" cy="12" r="2.3" fill="currentColor" stroke="none" />
</>,
);
export const DvToggle = /*#__PURE__*/ createIcon(
'toggle',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3ZM12 9c2.2 0 3 .8 3 3s-.8 3-3 3-3-.8-3-3 .8-3 3-3Z" />,
);
export const DvTokenInput = /*#__PURE__*/ createIcon(
'tokeninput',
<path d="M7.2 5.6c3.2-.3 6.4-.3 9.6 0 2.7.2 3.8 1.3 4 4 .1 1.6.1 3.2 0 4.8-.2 2.7-1.3 3.8-4 4-3.2.3-6.4.3-9.6 0-2.7-.2-3.8-1.3-4-4-.1-1.6-.1-3.2 0-4.8.2-2.7 1.3-3.8 4-4Zm1 3.7c1-.1 2-.1 3 0 1 .1 1.5.6 1.6 1.7.1.7.1 1.3 0 2-.1 1.1-.6 1.6-1.6 1.7-1 .1-2 .1-3 0-1-.1-1.5-.6-1.6-1.7-.1-.7-.1-1.3 0-2 .1-1.1.6-1.6 1.6-1.7ZM16.4 9.6v4.8" />,
);
// Sliders & Media
export const DvSlider = /*#__PURE__*/ createIcon(
'slider',
<path d="M3.5 12h7m6 0h4M13.5 9c2.2 0 3 .8 3 3s-.8 3-3 3-3-.8-3-3 .8-3 3-3Z" />,
);
export const DvEnergySlider = /*#__PURE__*/ createIcon(
'energyslider',
<path d="M3.5 17.5h6.5m4 0h6.5M12 15.5c1.5 0 2 .5 2 2s-.5 2-2 2-2-.5-2-2 .5-2 2-2Zm.4-12-3.6 4.8c-.4.5-.1 1 .5 1h2.4l-.6 3.2 3.6-4.8c.4-.5.1-1-.5-1h-2.4l.6-3.2Z" />,
);
export const DvAudioPlayer = /*#__PURE__*/ createIcon(
'audioplayer',
<path d="M7.2 5.4c3.2-.3 6.4-.3 9.6 0 2.8.3 3.8 1.4 4 4.2.1 1.6.1 3.2 0 4.8-.2 2.8-1.2 3.9-4 4.2-3.2.3-6.4.3-9.6 0-2.8-.3-3.8-1.4-4-4.2-.1-1.6-.1-3.2 0-4.8.2-2.8 1.2-3.9 4-4.2Zm.2 4.5c0-.6.5-.8 1-.5l2.6 1.7c.5.3.5.9 0 1.2L8.4 14c-.5.3-1 .1-1-.5V9.9ZM13.8 12h3.8" />,
);
export const DvAudioVisualizer = /*#__PURE__*/ createIcon(
'audiovisualizer',
<path d="M4.4 10v4M8.2 6.8v10.4M12 4.2v15.6M15.8 7.8v8.4M19.6 10.5v3" />,
);
export const DvVideoPlayer = /*#__PURE__*/ createIcon(
'videoplayer',
<path d="M7.5 4.4c3-.3 6-.3 9 0 2.8.3 3.8 1.4 4 4.2.2 2.3.2 4.5 0 6.8-.2 2.8-1.2 3.9-4 4.2-3 .3-6 .3-9 0-2.8-.3-3.8-1.4-4-4.2-.2-2.3-.2-4.5 0-6.8.2-2.8 1.2-3.9 4-4.2Zm2.5 5.1c0-.7.6-1 1.2-.6l3.5 2.2c.6.4.6 1.2 0 1.6l-3.5 2.2c-.6.4-1.2.1-1.2-.6V9.5Z" />,
);
export const DvImageComparison = /*#__PURE__*/ createIcon(
'imagecomparison',
<path d="M7.7 4.2c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.4 4.3 4.2.2 2.4.2 4.8 0 7.2-.3 2.8-1.3 3.9-4.3 4.2-2.9.3-5.7.3-8.6 0-3-.3-4-1.4-4.3-4.2-.2-2.4-.2-4.8 0-7.2.3-2.8 1.3-3.9 4.3-4.2ZM12 2.8v18.4M8.4 10.4 6.8 12l1.6 1.6m7.2-3.2L17.2 12l-1.6 1.6" />,
);
// Overlays & Navigation
export const DvAccordion = /*#__PURE__*/ createIcon(
'accordion',
<path d="M7.4 3.6c3.1-.2 6.1-.2 9.2 0 2.4.2 3.3.9 3.6 2.4-.3 1.5-1.2 2.2-3.6 2.4-3.1.2-6.1.2-9.2 0C5 8.2 4.1 7.5 3.8 6c.3-1.5 1.2-2.2 3.6-2.4Zm0 8c3.1-.2 6.1-.2 9.2 0 2.6.2 3.5 1.1 3.7 3.4v1.8c-.2 2.3-1.1 3.2-3.7 3.4-3.1.2-6.1.2-9.2 0-2.6-.2-3.5-1.1-3.7-3.4V15c.2-2.3 1.1-3.2 3.7-3.4ZM7.8 16h5.8" />,
);
export const DvDialog = /*#__PURE__*/ createIcon(
'dialog',
<path d="M7.5 4.4c3-.3 6-.3 9 0 2.8.3 3.8 1.4 4 4.2.2 2.3.2 4.5 0 6.8-.2 2.8-1.2 3.9-4 4.2-3 .3-6 .3-9 0-2.8-.3-3.8-1.4-4-4.2-.2-2.3-.2-4.5 0-6.8.2-2.8 1.2-3.9 4-4.2ZM7.2 9h4.6m3.6-.8 1.8 1.8m0-1.8-1.8 1.8M13.2 15.5h4" />,
);
export const DvDropdownMenu = /*#__PURE__*/ createIcon(
'dropdownmenu',
<path d="M7.4 3.4c3.1-.2 6.1-.2 9.2 0 2.3.2 3.2.8 3.5 2.2-.3 1.4-1.2 2-3.5 2.2-3.1.2-6.1.2-9.2 0-2.3-.2-3.2-.8-3.5-2.2.3-1.4 1.2-2 3.5-2.2Zm0 7.6c3.1-.2 6.1-.2 9.2 0 2.6.2 3.5 1.1 3.7 3.5v2.6c-.2 2.4-1.1 3.3-3.7 3.5-3.1.2-6.1.2-9.2 0-2.6-.2-3.5-1.1-3.7-3.5v-2.6c.2-2.4 1.1-3.3 3.7-3.5ZM7.8 14.3h6.4m-6.4 3.2h4" />,
);
export const DvPopover = /*#__PURE__*/ createIcon(
'popover',
<path d="M7.5 3.8c3-.3 6-.3 9 0 2.6.2 3.7 1.2 3.9 3.8.1 1.4.1 2.8 0 4.2-.2 2.5-1.3 3.5-3.9 3.8h-2.3l-1.5 1.8c-.4.5-1 .5-1.4 0l-1.5-1.8H7.5c-2.6-.3-3.7-1.3-3.9-3.8-.1-1.4-.1-2.8 0-4.2.2-2.6 1.3-3.6 3.9-3.8ZM8 9.8h8M9.8 20.8h4.4" />,
);
export const DvTabs = /*#__PURE__*/ createIcon(
'tabs',
<path d="M7.7 4.2c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.4 4.3 4.2.2 2.4.2 4.8 0 7.2-.3 2.8-1.3 3.9-4.3 4.2-2.9.3-5.7.3-8.6 0-3-.3-4-1.4-4.3-4.2-.2-2.4-.2-4.8 0-7.2.3-2.8 1.3-3.9 4.3-4.2ZM3.6 9.6h16.8M11 4.2v5.4" />,
);
export const DvTooltip = /*#__PURE__*/ createIcon(
'tooltip',
<path d="M7.8 5.6c2.8-.2 5.6-.2 8.4 0 2.5.2 3.5 1.1 3.7 3.4v1.6c-.2 2.3-1.2 3.2-3.7 3.4h-2l-1.5 2c-.4.5-1 .5-1.4 0l-1.5-2h-2c-2.5-.2-3.5-1.1-3.7-3.4V9c.2-2.3 1.2-3.2 3.7-3.4ZM8.5 9.8h7" />,
);
// Data Display & Feedback
export const DvAlert = /*#__PURE__*/ createIcon(
'alert',
<path d="M7.2 5.6c3.2-.3 6.4-.3 9.6 0 2.7.2 3.8 1.3 4 4 .1 1.6.1 3.2 0 4.8-.2 2.7-1.3 3.8-4 4-3.2.3-6.4.3-9.6 0-2.7-.2-3.8-1.3-4-4-.1-1.6-.1-3.2 0-4.8.2-2.7 1.3-3.8 4-4Zm.5 3.6v2.8m0 2.8h.01M11.4 12h5.8" />,
);
export const DvBadge = /*#__PURE__*/ createIcon(
'badge',
<path d="M8.5 7.4c2.3-.2 4.7-.2 7 0 2.9.2 4.3 1.6 4.3 4.6s-1.4 4.4-4.3 4.6c-2.3.2-4.7.2-7 0-2.9-.2-4.3-1.6-4.3-4.6s1.4-4.4 4.3-4.6ZM8.4 12h.01M11.4 12h4.4" />,
);
export const DvCard = /*#__PURE__*/ createIcon(
'card',
<path d="M7.7 3.6c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.4 4.3 4.2.2 2.8.2 5.6 0 8.4-.3 2.8-1.3 3.9-4.3 4.2-2.9.3-5.7.3-8.6 0-3-.3-4-1.4-4.3-4.2-.2-2.8-.2-5.6 0-8.4.3-2.8 1.3-3.9 4.3-4.2ZM3.6 10.5h16.8M7.5 14h9m-9 3.2h5.2" />,
);
export const DvCodeBlock = /*#__PURE__*/ createIcon(
'codeblock',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3Zm1.8 5.8L6.8 12l2.7 2.8m5-5.6L17.2 12l-2.7 2.8" />,
);
export const DvEmptyState = /*#__PURE__*/ createIcon(
'emptystate',
<>
<path
strokeDasharray="3 3"
d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3Z"
/>
<path d="M12 8.8c.4 1.6 1.6 2.8 3.2 3.2-1.6.4-2.8 1.6-3.2 3.2-.4-1.6-1.6-2.8-3.2-3.2 1.6-.4 2.8-1.6 3.2-3.2Z" />
</>,
);
export const DvListView = /*#__PURE__*/ createIcon(
'listview',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3ZM7.5 8.2h.01M10.8 8.2h5.7M7.5 12h.01M10.8 12h5.7M7.5 15.8h.01M10.8 15.8h5.7" />,
);
export const DvSeparator = /*#__PURE__*/ createIcon(
'separator',
<path d="M3.5 12h17M7.5 4.2c3-.2 6-.2 9 0 1.8.1 2.5.7 2.7 2.1v1.4H4.8V6.3c.2-1.4.9-2 2.7-2.1Zm0 15.6c3 .2 6 .2 9 0 1.8-.1 2.5-.7 2.7-2.1v-1.4H4.8v1.4c.2 1.4.9 2 2.7 2.1Z" />,
);
export const DvTicketCard = /*#__PURE__*/ createIcon(
'ticketcard',
<path d="M7.5 5.2c3-.3 6-.3 9 0 2.6.2 3.7 1.2 3.9 3.8v.6c0 .4-.2.6-.6.8a2 2 0 0 0 0 3.2c.4.2.6.4.6.8v.6c-.2 2.6-1.3 3.6-3.9 3.8-3 .3-6 .3-9 0-2.6-.2-3.7-1.2-3.9-3.8v-.6c0-.4.2-.6.6-.8a2 2 0 0 0 0-3.2c-.4-.2-.6-.4-.6-.8V9c.2-2.6 1.3-3.6 3.9-3.8ZM15 5.4v2m0 3.6v2m0 3.6v2M7.5 10.4h4m-4 3.2h2.4" />,
);
export const DvTimeline = /*#__PURE__*/ createIcon(
'timeline',
<path d="M6.5 3.7c1.4 0 1.8.4 1.8 1.8s-.4 1.8-1.8 1.8-1.8-.4-1.8-1.8.4-1.8 1.8-1.8Zm0 6.5c1.4 0 1.8.4 1.8 1.8s-.4 1.8-1.8 1.8-1.8-.4-1.8-1.8.4-1.8 1.8-1.8Zm0 6.5c1.4 0 1.8.4 1.8 1.8s-.4 1.8-1.8 1.8-1.8-.4-1.8-1.8.4-1.8 1.8-1.8Zm0-9.4v2.9m0 3.6v2.9M11.4 5.5h8.6m-8.6 6.5h6.2m-6.2 6.5h8.6" />,
);
export const DvWalletCard = /*#__PURE__*/ createIcon(
'walletcard',
<path d="M6.2 6.2c3.8-.4 7.8-.4 11.6 0M7.4 9.2c3.1-.3 6.1-.3 9.2 0 2.7.2 3.8 1.2 4 3.8.1 1.1.1 2.2 0 3.3-.2 2.6-1.3 3.6-4 3.8-3.1.3-6.1.3-9.2 0-2.7-.2-3.8-1.2-4-3.8-.1-1.1-.1-2.2 0-3.3.2-2.6 1.3-3.6 4-3.8Zm1.4 3.7c1.2 0 1.6.4 1.6 1.7s-.4 1.7-1.6 1.7-1.6-.4-1.6-1.7.4-1.7 1.6-1.7Z" />,
);
// Blocks / Recipes
export const DvAccountDropdown = /*#__PURE__*/ createIcon(
'accountdropdown',
<path d="M7.5 3.6c1.9 0 2.6.7 2.6 2.6s-.7 2.6-2.6 2.6-2.6-.7-2.6-2.6.7-2.6 2.6-2.6Zm7.6 2c.6.7 1.2 1.3 1.8 1.8.2.2.4.2.6 0 .6-.5 1.2-1.1 1.8-1.8M7.4 12c3.1-.2 6.1-.2 9.2 0 2.6.2 3.5 1.1 3.7 3.4v1.6c-.2 2.3-1.1 3.2-3.7 3.4-3.1.2-6.1.2-9.2 0-2.6-.2-3.5-1.1-3.7-3.4v-1.6c.2-2.3 1.1-3.2 3.7-3.4ZM7.8 16.2h8.4" />,
);
export const DvAppearanceSettings = /*#__PURE__*/ createIcon(
'appearancesettings',
<>
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3Z" />
<circle cx="12" cy="12" r="4.6" />
<path d="M12 7.4a4.6 4.6 0 0 1 0 9.2Z" fill="currentColor" stroke="none" />
</>,
);
export const DvDeviceAccess = /*#__PURE__*/ createIcon(
'deviceaccess',
<path d="M7.5 3.8c3-.3 6-.3 9 0 2.8.3 3.8 1.4 4 4.2.1 1.6.1 3.2 0 4.8-.2 2.8-1.2 3.9-4 4.2-3 .3-6 .3-9 0-2.8-.3-3.8-1.4-4-4.2-.1-1.6-.1-3.2 0-4.8.2-2.8 1.2-3.9 4-4.2ZM12 17v3.2M8.5 20.4c2.3-.2 4.7-.2 7 0M9.2 10.4l1.9 1.9 3.7-4" />,
);
export const DvNotificationInbox = /*#__PURE__*/ createIcon(
'notificationinbox',
<>
<path d="M13.5 3.4c-1.9-.1-3.9-.1-5.8 0-3 .3-4 1.5-4.3 4.3-.3 2.9-.3 5.7 0 8.6.3 2.8 1.3 4 4.3 4.3 2.9.3 5.7.3 8.6 0 3-.3 4-1.5 4.3-4.3.1-2 .1-4.1 0-6.1M3.5 13.4h4.2c.6 0 1 .3 1.3.9.5 1 1.6 1.6 3 1.6s2.5-.6 3-1.6c.3-.6.7-.9 1.3-.9h4.2" />
<circle cx="18.5" cy="5.5" r="2.2" />
</>,
);
export const DvTeamAccess = /*#__PURE__*/ createIcon(
'teamaccess',
<path d="M6 7.4c0-2.3 1.2-3.5 3.5-3.5S13 5.1 13 7.4s-1.2 3.5-3.5 3.5S6 9.7 6 7.4ZM3.3 19.6c.3-3.7 2.4-5.5 6.2-5.5.7 0 1.4.1 2 .2m6.1-2.9c1 .6 2 .9 3 .9.2 1.2.2 2.4 0 3.6-.3 2.1-1.4 3.5-3 4.3-1.6-.8-2.7-2.2-3-4.3-.2-1.2-.2-2.4 0-3.6 1 0 2-.3 3-.9Z" />,
);
// Shared Asset Packs
export const DvIcons = /*#__PURE__*/ createIcon(
'dvicons',
<path d="M5.4 3.7c1-.1 2-.1 3 0 1.2.1 1.7.6 1.8 1.8.1 1 .1 2 0 3-.1 1.2-.6 1.7-1.8 1.8-1 .1-2 .1-3 0-1.2-.1-1.7-.6-1.8-1.8-.1-1-.1-2 0-3 .1-1.2.6-1.7 1.8-1.8Zm15 3.3a3.3 3.3 0 1 1-6.6 0 3.3 3.3 0 0 1 6.6 0ZM6.9 13.8c.4 1.6 1.6 2.8 3.2 3.2-1.6.4-2.8 1.6-3.2 3.2-.4-1.6-1.6-2.8-3.2-3.2 1.6-.4 2.8-1.6 3.2-3.2Zm9.5.4c.4-.6 1-.6 1.4 0l2.1 3.8c.4.8 0 1.5-.9 1.6-1.3.1-2.5.1-3.8 0-.9-.1-1.3-.8-.9-1.6l2.1-3.8Z" />,
);
export const DvIllustrations = /*#__PURE__*/ createIcon(
'dvillustrations',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3ZM17.2 8.4a1.8 1.8 0 1 1-3.6 0 1.8 1.8 0 0 1 3.6 0ZM3.6 16.5c3.5-3.8 7.2-3.8 11.2 0m-2.6-1.7c2.6-2.2 5.4-2.2 8.2.2" />,
);
// Bonus UI Component Icons
export const DvBreadcrumb = /*#__PURE__*/ createIcon(
'breadcrumb',
<path d="M3.5 12h4.2m2.8-2.8c.8.8 1.6 1.7 2.2 2.5.2.2.2.4 0 .6-.6.8-1.4 1.7-2.2 2.5M15.8 12h4.7" />,
);
export const DvPagination = /*#__PURE__*/ createIcon(
'pagination',
<path d="M5.5 9.2c-.8.8-1.5 1.7-2.1 2.5-.2.2-.2.4 0 .6.6.8 1.3 1.7 2.1 2.5m13-5.6c.8.8 1.5 1.7 2.1 2.5.2.2.2.4 0 .6-.6.8-1.3 1.7-2.1 2.5M12 8.8c2.2 0 3 .8 3 3.2s-.8 3.2-3 3.2-3-.8-3-3.2.8-3.2 3-3.2Z" />,
);
export const DvProgress = /*#__PURE__*/ createIcon(
'progress',
<path d="M7.5 8.6c3-.2 6-.2 9 0 2.7.2 3.8 1.1 4 3.4-.2 2.3-1.3 3.2-4 3.4-3 .2-6 .2-9 0-2.7-.2-3.8-1.1-4-3.4.2-2.3 1.3-3.2 4-3.4ZM6.8 12h6.6" />,
);
export const DvSkeleton = /*#__PURE__*/ createIcon(
'skeleton',
<path d="M9.8 7.2a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM13 5.8h7.2M13 9.4h4.8M7.4 13.6c3.1-.2 6.1-.2 9.2 0 2.4.2 3.3 1 3.5 3.1-.2 2.1-1.1 2.9-3.5 3.1-3.1.2-6.1.2-9.2 0-2.4-.2-3.3-1-3.5-3.1.2-2.1 1.1-2.9 3.5-3.1Z" />,
);
export const DvToast = /*#__PURE__*/ createIcon(
'toast',
<path d="M6.2 6.4c3.8-.4 7.8-.4 11.6 0M7.4 9.6c3.1-.3 6.1-.3 9.2 0 2.7.2 3.8 1.2 4 3.8.1.9.1 1.7 0 2.6-.2 2.6-1.3 3.6-4 3.8-3.1.3-6.1.3-9.2 0-2.7-.2-3.8-1.2-4-3.8-.1-.9-.1-1.7 0-2.6.2-2.6 1.3-3.6 4-3.8Zm-.2 5 1.4 1.4 2.6-2.8m2.6 1.5h3.4" />,
);
export const DvAvatar = /*#__PURE__*/ createIcon(
'avatar',
<path d="M20.5 12a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0Zm-5.9-2.8a2.6 2.6 0 1 1-5.2 0 2.6 2.6 0 0 1 5.2 0ZM6.4 18.2c1.2-2.4 3.1-3.5 5.6-3.5s4.4 1.1 5.6 3.5" />,
);
// Form & Inputs
export const DvAutocomplete = /*#__PURE__*/ createIcon(
'autocomplete',
<path d="M7.4 3.4c3.1-.2 6.1-.2 9.2 0 2.3.2 3.2.8 3.5 2.4-.3 1.6-1.2 2.2-3.5 2.4-3.1.2-6.1.2-9.2 0-2.3-.2-3.2-.8-3.5-2.4.3-1.6 1.2-2.2 3.5-2.4Zm0 7.8c3.1-.2 6.1-.2 9.2 0 2.6.2 3.5 1.1 3.7 3.5v2.4c-.2 2.4-1.1 3.3-3.7 3.5-3.1.2-6.1.2-9.2 0-2.6-.2-3.5-1.1-3.7-3.5v-2.4c.2-2.4 1.1-3.3 3.7-3.5ZM7.5 5.8h4.5m-4.5 8.6h9m-9 3.2h5" />,
);
export const DvColorPicker = /*#__PURE__*/ createIcon(
'colorpicker',
<path d="m12.8 8.2 2.6-2.6a2.12 2.12 0 1 1 3 3l-2.6 2.6m-4.4-4.4 5.8 5.8m-4.4-4.4-6.4 6.4c-.6.6-1 1.3-1.2 2.1l-.5 2.1c-.2.7.2 1.1.9.9l2.1-.5c.8-.2 1.5-.6 2.1-1.2l6.4-6.4" />,
);
export const DvCombobox = /*#__PURE__*/ createIcon(
'combobox',
<path d="M7.2 5.6c3.2-.3 6.4-.3 9.6 0 2.7.2 3.8 1.3 4 4 .1 1.6.1 3.2 0 4.8-.2 2.7-1.3 3.8-4 4-3.2.3-6.4.3-9.6 0-2.7-.2-3.8-1.3-4-4-.1-1.6-.1-3.2 0-4.8.2-2.7 1.3-3.8 4-4ZM7 12h4.5m2.7-1.8L16 8.4l1.8 1.8m-3.6 3.6L16 15.6l1.8-1.8" />,
);
export const DvDateInput = /*#__PURE__*/ createIcon(
'dateinput',
<path d="M7.2 6.4c3.2-.3 6.4-.3 9.6 0 2.7.2 3.8 1.2 4 3.9.1 1.1.1 2.3 0 3.4-.2 2.7-1.3 3.7-4 3.9-3.2.3-6.4.3-9.6 0-2.7-.2-3.8-1.2-4-3.9-.1-1.1-.1-2.3 0-3.4.2-2.7 1.3-3.7 4-3.9ZM6.8 12h2.4m2.2 2.2 1.4-4.4M15 12h2.4" />,
);
export const DvField = /*#__PURE__*/ createIcon(
'field',
<path d="M4.2 5.4h6.8M7.4 8.8c3.1-.3 6.1-.3 9.2 0 2.7.2 3.8 1.2 4 3.8.1.7.1 1.5 0 2.2-.2 2.6-1.3 3.6-4 3.8-3.1.3-6.1.3-9.2 0-2.7-.2-3.8-1.2-4-3.8-.1-.7-.1-1.5 0-2.2.2-2.6 1.3-3.6 4-3.8Zm0 4.9h5.2" />,
);
export const DvFileInput = /*#__PURE__*/ createIcon(
'fileinput',
<path d="M7.2 6.4c3.2-.3 6.4-.3 9.6 0 2.7.2 3.8 1.2 4 3.9.1 1.1.1 2.3 0 3.4-.2 2.7-1.3 3.7-4 3.9-3.2.3-6.4.3-9.6 0-2.7-.2-3.8-1.2-4-3.9-.1-1.1-.1-2.3 0-3.4.2-2.7 1.3-3.7 4-3.9ZM11.2 6.4v11.2M7.2 10.6v2.8M5.8 12h2.8M14 12h3.8" />,
);
export const DvLabel = /*#__PURE__*/ createIcon(
'label',
<path d="M6.6 6.8c2.6-.2 5.2-.2 7.8 0 1.1.1 1.9.5 2.6 1.3l2.9 3.1c.5.5.5 1.1 0 1.6L17 15.9c-.7.8-1.5 1.2-2.6 1.3-2.6.2-5.2.2-7.8 0-2.1-.2-3-1.2-3.2-3.5-.1-1.1-.1-2.3 0-3.4.2-2.3 1.1-3.3 3.2-3.5ZM7.5 12h6.2" />,
);
export const DvListbox = /*#__PURE__*/ createIcon(
'listbox',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3ZM7.2 7.6h9.6M7 12h4.5m2.7-.1 1.2 1.2 2.2-2.3M7.2 16.4h9.6" />,
);
export const DvPasswordInput = /*#__PURE__*/ createIcon(
'passwordinput',
<path d="M7.2 6.8c3.2-.3 6.4-.3 9.6 0 2.7.2 3.8 1.2 4 3.9.1.9.1 1.7 0 2.6-.2 2.7-1.3 3.7-4 3.9-3.2.3-6.4.3-9.6 0-2.7-.2-3.8-1.2-4-3.9-.1-.9-.1-1.7 0-2.6.2-2.7 1.3-3.7 4-3.9ZM7.8 12h.01M12 12h.01M16.2 12h.01" />,
);
export const DvSegmentedControl = /*#__PURE__*/ createIcon(
'segmentedcontrol',
<>
<path d="M7.2 6.4c3.2-.3 6.4-.3 9.6 0 2.7.2 3.8 1.2 4 3.9.1 1.1.1 2.3 0 3.4-.2 2.7-1.3 3.7-4 3.9-3.2.3-6.4.3-9.6 0-2.7-.2-3.8-1.2-4-3.9-.1-1.1-.1-2.3 0-3.4.2-2.7 1.3-3.7 4-3.9ZM15.4 12h2.2" />
<rect x="5.8" y="9" width="6.4" height="6" rx="2.2" fill="currentColor" stroke="none" />
</>,
);
export const DvTextarea = /*#__PURE__*/ createIcon(
'textarea',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3ZM7.4 8h9.2M7.4 11.6h6m4 2.6-3.2 3.2" />,
);
export const DvTimeInput = /*#__PURE__*/ createIcon(
'timeinput',
<path d="M7.2 6.4c3.2-.3 6.4-.3 9.6 0 2.7.2 3.8 1.2 4 3.9.1 1.1.1 2.3 0 3.4-.2 2.7-1.3 3.7-4 3.9-3.2.3-6.4.3-9.6 0-2.7-.2-3.8-1.2-4-3.9-.1-1.1-.1-2.3 0-3.4.2-2.7 1.3-3.7 4-3.9ZM6.8 12h2.2M12 10.2h.01M12 13.8h.01M15 12h2.2" />,
);
// Overlays, Menus & Navigation
export const DvAlertDialog = /*#__PURE__*/ createIcon(
'alertdialog',
<path d="M7.5 4.4c3-.3 6-.3 9 0 2.8.3 3.8 1.4 4 4.2.2 2.3.2 4.5 0 6.8-.2 2.8-1.2 3.9-4 4.2-3 .3-6 .3-9 0-2.8-.3-3.8-1.4-4-4.2-.2-2.3-.2-4.5 0-6.8.2-2.8 1.2-3.9 4-4.2Zm.7 3.8v3.2m0 3.2h.01M12.2 9.5h4.6m-4.6 5h4.6" />,
);
export const DvDrawer = /*#__PURE__*/ createIcon(
'drawer',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3ZM3.4 12.2h17.2M9.8 15.6h4.4" />,
);
export const DvHoverCard = /*#__PURE__*/ createIcon(
'hovercard',
<>
<path d="M7.5 3.8c3-.3 6-.3 9 0 2.7.2 3.8 1.3 4 4 .1 1.4.1 2.8 0 4.2-.2 2.7-1.3 3.7-4 4-3 .2-6 .2-9 0-2.7-.3-3.8-1.3-4-4-.1-1.4-.1-2.8 0-4.2.2-2.7 1.3-3.8 4-4Zm3.7 4.4h5.6m-9.6 4h9.6M8.5 19.8h7" />
<circle cx="7.8" cy="8.2" r="1.2" fill="currentColor" stroke="none" />
</>,
);
export const DvMenubar = /*#__PURE__*/ createIcon(
'menubar',
<path d="M7.4 4.2c3.1-.2 6.1-.2 9.2 0 2.5.2 3.5.9 3.7 3.1-.2 2.2-1.2 2.9-3.7 3.1-3.1.2-6.1.2-9.2 0-2.5-.2-3.5-.9-3.7-3.1.2-2.2 1.2-2.9 3.7-3.1ZM6.5 7.3h1.8m2.8 0h1.8m2.8 0h1.8M6.6 13.4c1.2-.1 2.4-.1 3.6 0 2 .2 2.8 1 3 3v1c-.2 2-1 2.8-3 3-1.2.1-2.4.1-3.6 0-2-.2-2.8-1-3-3v-1c.2-2 1-2.8 3-3Zm-.1 3.5h3.8" />,
);
export const DvNavigationMenu = /*#__PURE__*/ createIcon(
'navigationmenu',
<path d="M7.4 3.6c3.1-.2 6.1-.2 9.2 0 2.5.2 3.5.9 3.7 3-.2 2.1-1.2 2.8-3.7 3-3.1.2-6.1.2-9.2 0-2.5-.2-3.5-.9-3.7-3 .2-2.1 1.2-2.8 3.7-3ZM6.8 6.6h4.2m3.4 0h2.8M7.4 12.6c3.1-.2 6.1-.2 9.2 0 2.6.2 3.5 1.1 3.7 3.4v1c-.2 2.3-1.1 3.2-3.7 3.4-3.1.2-6.1.2-9.2 0-2.6-.2-3.5-1.1-3.7-3.4v-1c.2-2.3 1.1-3.2 3.7-3.4ZM12 12.6v7.8M6.5 16.5h2.5m6 0h2.5" />,
);
export const DvToolbar = /*#__PURE__*/ createIcon(
'toolbar',
<path d="M7.2 6.8c3.2-.3 6.4-.3 9.6 0 2.7.2 3.8 1.2 4 3.9.1.9.1 1.7 0 2.6-.2 2.7-1.3 3.7-4 3.9-3.2.3-6.4.3-9.6 0-2.7-.2-3.8-1.2-4-3.9-.1-.9-.1-1.7 0-2.6.2-2.7 1.3-3.7 4-3.9ZM7.2 12h.01M11 12h.01M14 9.8v4.4M17 12h.01" />,
);
export const DvTriggerMenu = /*#__PURE__*/ createIcon(
'triggermenu',
<path d="M6.4 3.6c1.1-.1 2.1-.1 3.2 0 1.8.2 2.6.8 2.8 2.6-.2 1.8-1 2.4-2.8 2.6-1.1.1-2.1.1-3.2 0-1.8-.2-2.6-.8-2.8-2.6.2-1.8 1-2.4 2.8-2.6Zm.4 2.6h2.4m1.4 5.6c2.2-.2 4.4-.2 6.6 0 2.2.2 3 1.1 3.2 3.4v2c-.2 2.3-1 3.2-3.2 3.4-2.2.2-4.4.2-6.6 0-2.2-.2-3-1.1-3.2-3.4v-2c.2-2.3 1-3.2 3.2-3.4Zm.2 3h6.2m-6.2 3h4" />,
);
// Layout, Media & Data Display
export const DvCarousel = /*#__PURE__*/ createIcon(
'carousel',
<path d="M9.6 4.4c1.6-.2 3.2-.2 4.8 0 2.1.2 2.9 1.2 3.1 3.5.2 2.7.2 5.5 0 8.2-.2 2.3-1 3.3-3.1 3.5-1.6.2-3.2.2-4.8 0-2.1-.2-2.9-1.2-3.1-3.5-.2-2.7-.2-5.5 0-8.2.2-2.3 1-3.3 3.1-3.5ZM3.3 7c-.2 3.3-.2 6.7 0 10m17.4-10c.2 3.3.2 6.7 0 10" />,
);
export const DvCollapsible = /*#__PURE__*/ createIcon(
'collapsible',
<path d="M5 12h14M8.6 7.4c1.1-1.3 2.2-2.4 3.1-3.1.2-.2.4-.2.6 0 .9.7 2 1.8 3.1 3.1m-6.8 9.2c1.1 1.3 2.2 2.4 3.1 3.1.2.2.4.2.6 0 .9-.7 2-1.8 3.1-3.1" />,
);
export const DvImageCropper = /*#__PURE__*/ createIcon(
'imagecropper',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3Zm-.5 6.8V8.4c0-.8.4-1.2 1.2-1.2h1.8m3.6 0h1.8c.8 0 1.2.4 1.2 1.2v1.8m-9.6 3.6v1.8c0 .8.4 1.2 1.2 1.2h1.8m3.6 0h1.8c.8 0 1.2-.4 1.2-1.2v-1.8" />,
);
export const DvMeter = /*#__PURE__*/ createIcon(
'meter',
<path d="M7.5 6.2c3-.2 6-.2 9 0 2.7.2 3.8 1.1 4 3.4-.2 2.3-1.3 3.2-4 3.4-3 .2-6 .2-9 0-2.7-.2-3.8-1.1-4-3.4.2-2.3 1.3-3.2 4-3.4Zm-.7 3.4H14M6.5 16.8v1.6M12 16.8v2.2m5.5-2.2v1.6" />,
);
export const DvPreferences = /*#__PURE__*/ createIcon(
'preferences',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3ZM7 9h2m5 0h3m-5.5-1.6v3.2M7 15h4.5m5.5 0h0m-2.5-1.6v3.2" />,
);
export const DvResizable = /*#__PURE__*/ createIcon(
'resizable',
<path d="M5.4 4c.5-.1 1-.1 1.5 0 1.4.2 2 1 2.1 2.7.1 3.5.1 7.1 0 10.6-.1 1.7-.7 2.5-2.1 2.7-.5.1-1 .1-1.5 0-1.4-.2-2-1-2.1-2.7-.1-3.5-.1-7.1 0-10.6.1-1.7.7-2.5 2.1-2.7Zm11.7 0c.5-.1 1-.1 1.5 0 1.4.2 2 1 2.1 2.7.1 3.5.1 7.1 0 10.6-.1 1.7-.7 2.5-2.1 2.7-.5.1-1 .1-1.5 0-1.4-.2-2-1-2.1-2.7-.1-3.5-.1-7.1 0-10.6.1-1.7.7-2.5 2.1-2.7ZM12 8.5v7" />,
);
export const DvScrollArea = /*#__PURE__*/ createIcon(
'scrollarea',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3ZM7.2 8.5h6.6M7.2 12h6.6m-6.6 3.5h4.2m5.8-8.3v5.4" />,
);
export const DvTree = /*#__PURE__*/ createIcon(
'tree',
<path d="M6.5 4.2c1.8 0 2.3.5 2.3 2.3s-.5 2.3-2.3 2.3-2.3-.5-2.3-2.3.5-2.3 2.3-2.3Zm5.5 2.3h7.7M6.5 8.8v6.8c0 1.5.7 2.2 2.2 2.2H11M6.5 12.6H11m3.2 0h5.5m-5.5 5.2h5.5" />,
);
export const DvWaterfall = /*#__PURE__*/ createIcon(
'waterfall',
<path d="M7.7 3.4c2.9-.3 5.7-.3 8.6 0 3 .3 4 1.5 4.3 4.3.3 2.9.3 5.7 0 8.6-.3 2.8-1.3 4-4.3 4.3-2.9.3-5.7.3-8.6 0-3-.3-4-1.5-4.3-4.3-.3-2.9-.3-5.7 0-8.6.3-2.8 1.3-4 4.3-4.3ZM6.8 8H11m-1.2 4h4.4M13 16h4.2" />,
);
export const DvInputGroup = /*#__PURE__*/ createIcon(
'inputgroup',
<path d="M7.2 6.4c3.2-.3 6.4-.3 9.6 0 2.7.2 3.8 1.2 4 3.9.1 1.1.1 2.3 0 3.4-.2 2.7-1.3 3.7-4 3.9-3.2.3-6.4.3-9.6 0-2.7-.2-3.8-1.2-4-3.9-.1-1.1-.1-2.3 0-3.4.2-2.7 1.3-3.7 4-3.9ZM9.4 6.3v11.4M6.3 12h.01M12.8 9.6v4.8M16 12h1.6" />,
);
import { Separator as SDKSeparator } from '@ui-sdk/react/separator';
import type { ComponentProps } from 'react';
import { partClass } from '@/lib/devvarena-ui';
type SeparatorProps = ComponentProps<typeof SDKSeparator> & { variant?: 'fade' | 'solid' };
/** Theme-derived fading rule built on `@ui-sdk/react/separator`. */
function Separator({
orientation = 'horizontal',
decorative = true,
variant = 'fade',
className,
...props
}: SeparatorProps) {
return (
<SDKSeparator
{...props}
orientation={orientation}
decorative={decorative}
data-variant={variant}
className={partClass(
'pointer-events-none shrink-0',
orientation === 'horizontal' ? 'h-px w-full' : 'w-px self-stretch',
variant === 'solid'
? 'bg-[var(--separator-color,var(--border))]'
: orientation === 'horizontal'
? 'bg-[linear-gradient(to_right,transparent,var(--separator-color,var(--border))_18%,var(--separator-color,var(--border))_82%,transparent)]'
: 'bg-[linear-gradient(to_bottom,transparent,var(--separator-color,var(--border))_18%,var(--separator-color,var(--border))_82%,transparent)]',
className,
)}
/>
);
}
export type { SeparatorProps };
export { Separator };
'use client';
import {
Tooltip as SDKTooltip,
TooltipArrow as SDKTooltipArrow,
TooltipContent as SDKTooltipContent,
type TooltipProps as SDKTooltipProps,
} from '@ui-sdk/react/tooltip';
import { cva, type VariantProps } from 'class-variance-authority';
import { type ComponentProps, createContext, useContext, useMemo } from 'react';
import { compactControlMinHeights, partClass } from '@/lib/devvarena-ui';
const tooltipContentSizeVariants = cva(
'box-border inline-flex items-center [&_svg:not([class*="size-"])]:shrink-0',
{
variants: {
size: {
xs: `${compactControlMinHeights.xs} [--tooltip-tip-width:0.875rem] [--tooltip-tip-height:0.35rem] px-2 py-0.5 text-xs leading-none [&_svg:not([class*="size-"])]:size-2.5`,
sm: `${compactControlMinHeights.sm} [--tooltip-tip-width:0.9375rem] [--tooltip-tip-height:0.375rem] px-2 py-1 text-xs leading-none [&_svg:not([class*="size-"])]:size-2.5`,
md: `${compactControlMinHeights.md} [--tooltip-tip-width:1rem] [--tooltip-tip-height:0.4rem] px-2.5 py-1.5 text-xs leading-none [&_svg:not([class*="size-"])]:size-3`,
lg: `${compactControlMinHeights.lg} [--tooltip-tip-width:1.125rem] [--tooltip-tip-height:0.45rem] px-3 py-1.5 text-sm leading-none [&_svg:not([class*="size-"])]:size-3.5`,
},
},
defaultVariants: { size: 'md' },
},
);
type TooltipSize = NonNullable<VariantProps<typeof tooltipContentSizeVariants>['size']>;
const TooltipContext = createContext<{ size?: TooltipSize; shared: boolean }>({
size: undefined,
shared: false,
});
type TooltipProps = SDKTooltipProps & {
/** Compact surface scale for content (padding, type, arrow)—not shared control height. */
size?: TooltipSize;
};
function Tooltip({ size, controller, ...props }: TooltipProps) {
const shared = controller != null;
const context = useMemo(() => ({ size, shared }), [size, shared]);
return (
<TooltipContext value={context}>
<SDKTooltip {...props} controller={controller} />
</TooltipContext>
);
}
const tooltipSurfaces = {
bevel:
'[--tooltip-border:color-mix(in_oklch,var(--tooltip-surface),black_8%)] bg-clip-padding bg-[linear-gradient(180deg,rgb(255_255_255/0.16),rgb(255_255_255/0)_75%)] [text-shadow:0_1px_2px_color-mix(in_srgb,var(--tooltip-surface),transparent_60%)] shadow-[inset_0_1.5px_0_rgb(255_255_255/0.22),inset_0_-1px_0_rgb(0_0_0/0.12),0_1px_1px_rgb(0_0_0/0.08),0_3px_6px_rgb(0_0_0/0.16)] dark:[--tooltip-border:color-mix(in_oklch,var(--tooltip-surface),black_12%)] dark:bg-[linear-gradient(180deg,rgb(255_255_255/0.22),rgb(255_255_255/0)_78%)] dark:[text-shadow:none] dark:shadow-[inset_0_1.5px_0_rgb(255_255_255/0.38),inset_0_-1px_0_rgb(0_0_0/0.08),0_1px_1px_rgb(0_0_0/0.06),0_2px_4px_rgb(0_0_0/0.12)]',
flat: 'shadow-sm',
fancy:
'before:pointer-events-none before:absolute before:inset-x-2 before:-top-0.5 before:h-0.5 before:bg-[linear-gradient(90deg,transparent,var(--tooltip-ink),transparent)] before:opacity-50 before:[mask-image:linear-gradient(to_right,transparent,black_15%,black_85%,transparent)]',
} as const;
type TooltipContentProps<Payload = unknown> = ComponentProps<typeof SDKTooltipContent<Payload>> & {
variant?: keyof typeof tooltipSurfaces;
size?: TooltipSize;
};
function TooltipContent<Payload = unknown>({
variant = 'bevel',
size: sizeProp,
sideOffset = 10,
collisionPadding = 8,
className,
...props
}: TooltipContentProps<Payload>) {
const { size: inheritedSize, shared } = useContext(TooltipContext);
const size = sizeProp ?? inheritedSize ?? 'md';
return (
<SDKTooltipContent<Payload>
{...props}
sideOffset={sideOffset}
collisionPadding={collisionPadding}
data-variant={variant}
data-size={size}
className={partClass(
'not-prose [--tooltip-surface:var(--foreground)] [--tooltip-ink:var(--background)] [--tooltip-border:transparent] relative z-50 m-0 w-max max-w-[min(20rem,var(--available-width,calc(100vw-1rem)))] origin-(--transform-origin) rounded-lg border border-[var(--tooltip-border)] bg-[var(--tooltip-surface)] text-[var(--tooltip-ink)] outline-none [overflow-wrap:anywhere] transition-[opacity,scale,filter] duration-150 ease-out data-starting-style:opacity-0 data-ending-style:opacity-0 motion-safe:data-starting-style:scale-95 motion-safe:data-starting-style:blur-[3px] motion-safe:data-ending-style:scale-[0.98] motion-safe:data-ending-style:blur-[3px] motion-reduce:transition-none',
shared
? 'transition-[left,top,right,bottom,transform,translate,opacity,scale,filter] duration-200'
: 'data-instant:transition-none',
tooltipContentSizeVariants({ size }),
tooltipSurfaces[variant],
className,
)}
/>
);
}
function TooltipArrow({ className, children, ...props }: ComponentProps<typeof SDKTooltipArrow>) {
return (
<SDKTooltipArrow
{...props}
aria-hidden="true"
data-slot="tooltip-arrow"
className={partClass(
'pointer-events-none absolute h-[var(--tooltip-tip-height)] w-[var(--tooltip-tip-width)] text-[var(--tooltip-surface)] data-[side=top]:-bottom-[var(--tooltip-tip-height)] data-[side=bottom]:-top-[var(--tooltip-tip-height)] data-[side=bottom]:rotate-180 data-[side=left]:-right-[calc((var(--tooltip-tip-width)_+_var(--tooltip-tip-height))_/_2)] data-[side=left]:-rotate-90 data-[side=right]:-left-[calc((var(--tooltip-tip-width)_+_var(--tooltip-tip-height))_/_2)] data-[side=right]:rotate-90',
className,
)}
>
{children ?? (
<svg
aria-hidden="true"
viewBox="0 0 24 10"
className="block size-full overflow-visible"
focusable="false"
>
<path d="M0 -1H24V0C17 0 16 9 12 9S7 0 0 0Z" fill="currentColor" />
<path
d="M0 0C7 0 8 9 12 9S17 0 24 0"
fill="none"
stroke="var(--tooltip-border)"
strokeWidth="1"
/>
</svg>
)}
</SDKTooltipArrow>
);
}
export type { TooltipOptions } from '@ui-sdk/core/tooltip';
export type { TooltipContentState, TooltipController } from '@ui-sdk/react/tooltip';
export { createTooltipController, TooltipShortcut, TooltipTrigger } from '@ui-sdk/react/tooltip';
export { Tooltip, TooltipArrow, TooltipContent, type TooltipSize };
'use client';
import { type CSSProperties, useCallback, useMemo } from 'react';
export type UseSlidingHighlightOptions = {
/** Mark eligible descendants with this selector. */
itemSelector?: string;
/** Resolve a row when the primitive focuses its parent instead of the row itself. */
focusItemSelector?: string;
disabled?: boolean;
/** Follow a primitive-owned state attribute on eligible items. */
activeAttribute?: string;
};
function highlightProperties(activeAttribute?: string) {
const prefix = activeAttribute ? `--sliding-highlight-${activeAttribute}` : '--sliding-highlight';
return {
left: `${prefix}-left`,
top: `${prefix}-top`,
width: `${prefix}-width`,
height: `${prefix}-height`,
opacity: `${prefix}-opacity`,
};
}
type Clipper = { el: Element; x: boolean; y: boolean };
/** Decorative hover/focus feedback; zero React state or useEffect. */
export function useSlidingHighlight({
itemSelector = '[data-highlight-item]',
focusItemSelector,
disabled = false,
activeAttribute,
}: UseSlidingHighlightOptions = {}) {
const properties = useMemo(() => highlightProperties(activeAttribute), [activeAttribute]);
const highlightStyle = useMemo<CSSProperties>(
() => ({
position: 'absolute',
top: 0,
left: 0,
width: `var(${properties.width}, 0px)`,
height: `var(${properties.height}, 0px)`,
transform: `translate3d(var(${properties.left}, 0px), var(${properties.top}, 0px), 0)`,
opacity: `var(${properties.opacity}, 0)`,
pointerEvents: 'none',
}),
[properties],
);
const containerRef = useCallback(
(container: HTMLElement | null) => {
if (!container || disabled) return;
const activeSelector = activeAttribute ? `${itemSelector}[${activeAttribute}]` : null;
const style = container.style;
let hovered: HTMLElement | null = null;
let focused: HTMLElement | null = null;
let observed: HTMLElement | null = null;
let clippers: Clipper[] = [];
let visible: boolean | null = null;
let pLeft = NaN;
let pTop = NaN;
let pWidth = NaN;
let pHeight = NaN;
const findItem = (target: EventTarget | null) => {
const item = target instanceof Element ? target.closest<HTMLElement>(itemSelector) : null;
return item && item !== container && container.contains(item) ? item : null;
};
// Programmatic/pointer focus must not pin a popover's initially focused row.
const findFocusedItem = (target: EventTarget | null) => {
if (!(target instanceof Element) || !target.matches(':focus-visible')) return null;
const inner = focusItemSelector ? target.querySelector(focusItemSelector) : null;
return findItem(inner ?? target);
};
const setVisible = (next: boolean) => {
if (visible === next) return;
visible = next;
style.setProperty(properties.opacity, next ? '1' : '0');
};
// Runs only when the tracked item changes, so getComputedStyle is not called per frame.
const track = (item: HTMLElement | null) => {
if (observed === item) return;
if (observed) resize?.unobserve(observed);
if (item) resize?.observe(item);
observed = item;
clippers = [];
for (let el = item?.parentElement; el && el !== container; el = el.parentElement) {
const { overflowX, overflowY } = getComputedStyle(el);
const x = overflowX !== 'visible';
const y = overflowY !== 'visible';
if (x || y) clippers.push({ el, x, y });
}
};
const measure = () => {
const item = activeSelector
? container.querySelector<HTMLElement>(activeSelector)
: focused?.matches(itemSelector) && container.contains(focused)
? focused
: hovered;
const valid = item && container.contains(item) && item.matches(itemSelector);
track(valid ? item : null);
if (!valid) return setVisible(false);
const outer = container.getBoundingClientRect();
const inner = item.getBoundingClientRect();
if (!outer.width || !outer.height || !inner.width || !inner.height) {
return setVisible(false);
}
let { left: cLeft, top: cTop, right: cRight, bottom: cBottom } = inner;
for (const { el, x, y } of clippers) {
const r = el.getBoundingClientRect();
if (x) {
cLeft = Math.max(cLeft, r.left);
cRight = Math.min(cRight, r.right);
}
if (y) {
cTop = Math.max(cTop, r.top);
cBottom = Math.min(cBottom, r.bottom);
}
}
if (cRight <= cLeft || cBottom <= cTop) return setVisible(false);
const scaleX = container.offsetWidth / outer.width;
const scaleY = container.offsetHeight / outer.height;
const left = (cLeft - outer.left) * scaleX - container.clientLeft + container.scrollLeft;
const top = (cTop - outer.top) * scaleY - container.clientTop + container.scrollTop;
const width = (cRight - cLeft) * scaleX;
const height = (cBottom - cTop) * scaleY;
if (left !== pLeft) {
pLeft = left;
style.setProperty(properties.left, `${left}px`);
}
if (top !== pTop) {
pTop = top;
style.setProperty(properties.top, `${top}px`);
}
if (width !== pWidth) {
pWidth = width;
style.setProperty(properties.width, `${width}px`);
}
if (height !== pHeight) {
pHeight = height;
style.setProperty(properties.height, `${height}px`);
}
setVisible(true);
};
const resize = typeof ResizeObserver !== 'undefined' ? new ResizeObserver(measure) : null;
const mutation = new MutationObserver(measure);
const onPointer = (e: PointerEvent) => {
if (e.pointerType === 'touch') return;
const next = findItem(e.type === 'pointerout' ? e.relatedTarget : e.target);
if (next === hovered) return;
hovered = next;
measure();
};
const onPointerLeave = (e: PointerEvent) => {
if (e.pointerType === 'touch') return;
hovered = null;
measure();
};
const onFocus = (e: FocusEvent) => {
focused = findFocusedItem(e.type === 'focusin' ? e.target : e.relatedTarget);
measure();
};
resize?.observe(container);
mutation.observe(container, {
childList: true,
subtree: true,
...(activeAttribute && {
attributeFilter: [activeAttribute, 'data-disabled', 'aria-disabled'],
}),
});
container.addEventListener('scroll', measure, { capture: true, passive: true });
if (!activeSelector) {
focused = findFocusedItem(document.activeElement);
container.addEventListener('pointerover', onPointer);
container.addEventListener('pointermove', onPointer);
container.addEventListener('pointerout', onPointer);
container.addEventListener('pointerleave', onPointerLeave);
container.addEventListener('pointercancel', onPointerLeave);
container.addEventListener('focusin', onFocus);
container.addEventListener('focusout', onFocus);
}
measure();
return () => {
resize?.disconnect();
mutation.disconnect();
container.removeEventListener('scroll', measure, true);
if (!activeSelector) {
container.removeEventListener('pointerover', onPointer);
container.removeEventListener('pointermove', onPointer);
container.removeEventListener('pointerout', onPointer);
container.removeEventListener('pointerleave', onPointerLeave);
container.removeEventListener('pointercancel', onPointerLeave);
container.removeEventListener('focusin', onFocus);
container.removeEventListener('focusout', onFocus);
}
for (const v of Object.values(properties)) style.removeProperty(v);
};
},
[itemSelector, focusItemSelector, disabled, activeAttribute, properties],
);
return { containerRef, highlightStyle };
}
import { cn } from '@/lib/utils';
type ClassValue = string | false | null | undefined;
type PartClassValue<State> = ClassValue | ((state: State) => ClassValue);
/** Composes static class names and UI-SDK state class functions into a single `className` prop. */
export function partClass<State>(...parts: PartClassValue<State>[]) {
if (parts.some((part) => typeof part === 'function')) {
return (state: State) =>
cn(...parts.map((part) => (typeof part === 'function' ? part(state) : part)));
}
return cn(...(parts as ClassValue[]));
}
export const surfacePadding = 'p-1 [--surface-padding:1.5rem] [--concentric-inset:0.25rem]';
export const surfaceRegionInset = 'p-[calc(var(--surface-padding,1rem)-0.5rem)]';
export const surfaceHeaderRadius = 'rounded-t-[max(0px,calc(var(--radius-lg,0.5rem)-0.25rem))]';
export const surfaceFooterRadius = 'rounded-b-[max(0px,calc(var(--radius-lg,0.5rem)-0.25rem))]';
/** Concentric inner radius (`outer - inset`); set `[--concentric-inset:0.125rem]` on `p-0.5` rails (defaults to `0.25rem` for `p-1`). */
export const concentricRadius =
'rounded-[max(0px,calc(var(--radius-lg,0.5rem)-var(--concentric-inset,0.25rem)))]';
export const surfaceBodyPadding =
'py-[max(0px,calc(var(--surface-padding,1rem)-1rem))] has-[>[data-slot=list]:not([data-variant=plain])]:p-0 has-[>[data-slot=list-items-container]]:p-0';
export type StandardControlSize = 'xs' | 'sm' | 'md' | 'lg';
/** Standard control heights (`28px / 32px / 40px / 48px`) for buttons, inputs, selects, tabs, and sliders. */
export const controlHeights = {
xs: 'h-7',
sm: 'h-8',
md: 'h-10',
lg: 'h-12',
} as const satisfies Record<StandardControlSize, string>;
/** Standard minimum control heights (`28px / 32px / 40px / 48px`) for expandable controls and menu items. */
export const controlMinHeights = {
xs: 'min-h-7',
sm: 'min-h-8',
md: 'min-h-10',
lg: 'min-h-12',
} as const satisfies Record<StandardControlSize, string>;
/** Standard control text sizes (`xs / xs / sm / base`) paired with `StandardControlSize`. */
export const controlTextSizes = {
xs: 'text-xs',
sm: 'text-xs',
md: 'text-sm',
lg: 'text-base',
} as const satisfies Record<StandardControlSize, string>;
/** Compact control heights (`1.25rem / 1.3rem / 1.625rem / 1.75rem`), one step smaller than standard, for switches and compact controls. */
export const compactControlHeights = {
xs: 'h-[1.3rem]',
sm: 'h-[1.4rem]',
md: 'h-[1.5rem]',
lg: 'h-[1.6rem]',
} as const satisfies Record<StandardControlSize, string>;
/** Compact minimum control heights (`1rem / 1.25rem / 1.5rem / 1.75rem`) for badges and tooltips. */
export const compactControlMinHeights = {
xs: 'min-h-[1.3rem]',
sm: 'min-h-[1.4rem]',
md: 'min-h-[1.5rem]',
lg: 'min-h-[1.6rem]',
} as const satisfies Record<StandardControlSize, string>;
/** Universal keyboard focus + invalid ring/border styles shared across controls. */
export const focusRing =
'touch-manipulation outline-none focus-visible:border-ring/30 transition-ring focus-visible:ring-3 focus-visible:ring-ring/15 focus-visible:brightness-[0.97] dark:focus-visible:brightness-[1.15] has-[:focus-visible]:border-ring/30 has-[:focus-visible]:ring-3 has-[:focus-visible]:ring-ring/15 has-[:focus-visible]:brightness-[0.97] dark:has-[:focus-visible]:brightness-[1.15] data-active:border-ring/30 data-active:ring-3 data-active:ring-ring/15 data-active:brightness-[0.97] dark:data-active:brightness-[1.15] data-open:border-ring/30 data-open:ring-3 data-open:ring-ring/15 data-open:brightness-[0.97] dark:data-open:brightness-[1.15] data-disabled:cursor-not-allowed data-disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/25 data-invalid:border-destructive data-invalid:ring-3 data-invalid:ring-destructive/25 has-[[data-invalid]]:border-destructive has-[[data-invalid]]:ring-3 has-[[data-invalid]]:ring-destructive/25 group-aria-invalid/control:border-destructive group-aria-invalid/control:ring-3 group-aria-invalid/control:ring-destructive/25 group-data-invalid/control:border-destructive group-data-invalid/control:ring-3 group-data-invalid/control:ring-destructive/25 group-has-[input[aria-invalid=true]]/control:border-destructive group-has-[input[aria-invalid=true]]/control:ring-3 group-has-[input[aria-invalid=true]]/control:ring-destructive/25 hover:brightness-[0.97] dark:hover:brightness-[1.15]';
/** Shared sliding highlight indicator base (pointer-safe, concentric inner radius inside rounded-lg containers, 200ms transition). */
export const slidingHighlight =
'pointer-events-none -z-10 rounded-[max(0px,calc(var(--radius-lg,0.5rem)-var(--concentric-inset,0.25rem)))] bg-primary/10 [clip-path:inset(0px_round_max(0px,calc(var(--radius-lg,0.5rem)-var(--concentric-inset,0.25rem))))] transition-[transform,width,height,opacity] duration-200 ease-out motion-reduce:transition-none';
export const textFieldSurfaces = {
filled: 'border-input bg-card text-card-foreground',
outline: 'border-input bg-transparent text-foreground dark:bg-transparent',
ghost: 'border-transparent bg-muted text-foreground shadow-none',
underline:
'rounded-none border-0 border-b-2 border-input bg-transparent px-0 text-foreground shadow-none focus-visible:border-ring focus-visible:ring-0 aria-invalid:ring-0 data-invalid:ring-0 dark:bg-transparent',
} as const;
export const textFieldUnderlineMotion =
'border-transparent! bg-origin-border bg-bottom bg-no-repeat [--underline-color:var(--primary)] [background-image:linear-gradient(var(--underline-color),var(--underline-color)),linear-gradient(var(--input),var(--input))] [background-size:0%_2px,100%_2px] focus:[background-size:100%_2px,100%_2px] aria-invalid:[--underline-color:var(--destructive)] data-invalid:[--underline-color:var(--destructive)] transition-[border-color,background-color,box-shadow,filter,background-size] duration-200 motion-reduce:transition-none';
/** Generic balanced icon & floating-label layout tokens shared across all text-field sizes. */
export const textFieldLayout = {
icon: 'size-4',
iconStart: 'start-3',
iconEnd: 'end-3',
padStart: 'ps-9',
padEnd: 'pe-9',
underlinePadStart: 'ps-7',
underlinePadEnd: 'pe-7',
floatingStart: 'start-2.5',
floatingWithIcon: 'start-8',
floatingUnderlineIcon: 'start-6',
} as const;
export const textFieldLabelSegmenter = new Intl.Segmenter(undefined, { granularity: 'grapheme' });
/** Clamps per-grapheme wave delay (ms) so total staggering stays within 300ms. */
export function clampWaveDelay(waveDelay: number, count: number): number {
return Math.max(
0,
Math.min(Number.isFinite(waveDelay) ? waveDelay : 24, 80, 300 / Math.max(1, count - 1)),
);
}
/** Shared scale/color transition for floating labels inside a `group/field` wrapper. */
export const textFieldLabelMotion =
'inline-block origin-left backdrop-blur-xs transition-[scale,color] duration-200 ease-out group-has-[input:focus]/field:scale-85 group-has-[input:not(:placeholder-shown)]/field:scale-85 rtl:origin-right motion-reduce:transition-none';
/** Resolves start/end padding for a text field when a leading or trailing icon is present. */
export function getTextFieldIconPadding(iconPosition: 'start' | 'end', underline: boolean): string {
if (iconPosition === 'start') {
return underline ? textFieldLayout.underlinePadStart : textFieldLayout.padStart;
}
return underline ? textFieldLayout.underlinePadEnd : textFieldLayout.padEnd;
}
/** Shared per-grapheme ripple transition for wave labels inside a `group/field` wrapper. */
export const textFieldWaveMotion =
'inline-block origin-left backdrop-blur-xs transition-[translate,scale,color] duration-200 ease-out group-has-[input:focus]/field:-translate-y-5 group-has-[input:focus]/field:scale-85 group-has-[input:focus]/field:text-primary group-has-[input:not(:placeholder-shown)]/field:-translate-y-5 group-has-[input:not(:placeholder-shown)]/field:scale-85 group-has-[input[aria-invalid=true]]/field:text-destructive rtl:origin-right motion-reduce:transition-none';