feat(slint): CommandBlock + WarningBanner primitives (HiFi wizard Slice 4)
CommandBlock: surface-elevated copy-paste card (Radius.sm, no pills) with an optional caption, a monospace wrapping command body and a copy button that flips to a green check for 2s (Timer). Read-only — the copy() callback is wired to the clipboard by the consumer; nothing is executed. WarningBanner: info/warning/error variants (tone drives icon + 10%/30% alpha bg/border, matching the existing inline banners). Adds lucide copy.svg. cc
This commit is contained in:
3 files changed
+161
No files matched your search
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/></svg>
|
||||
|
After Width: | Height: | Size: 311 B |
Reference in new issue
Block a user