Edge-Drop is a clipboard shelf on the edge of your screen. Hover to open it. Drag files and images into any app, click to copy text and links. Free and open-source for Windows.
TypeScript clipboardclipboard-managerdesktop-appdrag-and-dropelectronopen-sourceproductivityproductivity-toolwindows
Add What's New changelog view, lucide-react icon suite, glassmorphic pinned deck, spring toggles, and zero-blur performance optimizations
Deepender25899268c7e441
diff --git a/README.md b/README.mdindex 57024a0..7df9055 100644--- a/README.md+++ b/README.md@@ -285,19 +285,21 @@ sequenceDiagram- Type-safe merge rules: images only merge with images, files with files (text never groups)**UI / UX**+- **What's New Release History View**: Integrated in-app release notes viewer (`v0.1.5` to `v0.1.0`) accessible via the Settings header button, featuring unread update badges and automatic main-settings navigation reset+- **Lucide-React Vector Icon Suite**: Powered by official `lucide-react` vector icon library for crisp, high-precision SVG icons across headers, item cards, and settings+- **Glassmorphic Pinned Deck**: Dedicated Pinned items deck container with custom icon header, smooth Framer Motion spring collapse/expand height physics, and clean text count+- **Tactile Spring Toggles**: Settings toggle switches powered by Framer Motion spring physics (`stiffness: 600`, `damping: 35`) for tactile tactile feedback+- **High-Contrast Typography & Anti-Pixelation**: Ultra-crisp font rendering with `vector-effect: non-scaling-stroke` and high-contrast color tokens eliminating subpixel blurriness on all display scale factors- **Dynamic Preview Flyout**: Responsive 100% full-width (`1fr`) layout for single files, 2-column grid for multi-file collections, with calibrated `ResizeObserver` hover boundary tracking (`insideY`)-- **Customizable Copy Indicator Styles**: Select from 4 vector copy indicators (**Edge-Drop Logo**, **Tick**, **Copy**, and **Sparkle**) in a clean 2x2 grid flyout selector. All styles feature smooth organic floating, pendulum sway motion, and glowing backdrops.+- **Customizable Copy Indicator Styles**: Select from 4 vector copy indicators (**Edge-Drop Logo**, **Tick**, **Copy**, and **Sparkle**) in a clean 2x2 grid flyout selector- **Universal Click-to-Paste**: Click any text snippet, image thumbnail, or file tile inside Preview Flyout to instantly paste into active desktop applications with shared double-click debounce protection (`tryPaste.ts`)- **Community & Feedback Integration**: Integrated **Feedback & Issues** button under **COMMUNITY & SUPPORT** in Settings, linking directly to zero-friction Markdown GitHub Issue templates (`issues/new/choose`)-- **Animation Performance Controls**: Fine-grained settings under **Animations** for springy overshoot scale pop (`bounceAnimation`) and background filter blurring (`blurAnimation`)- **Staggered Panel & Preview Exit Timing**: Closing while a preview flyout is open dismisses the preview flyout first (`240ms` delay) before collapsing the main shelf to prevent layout collisions- **Unified Image Rendering**: Copied image files (`.png`, `.jpeg`, `.gif`, `.webp`) render as visual image cards with thumbnails on the shelf and display full visual image previews in flyouts-- **High-Contrast Overlays**: Solid dark `rgba(0, 0, 0, 0.85)` copy button overlays with glassmorphic backdrop blur over images-- Frosted-glass macOS aesthetic — deep black, `backdrop-filter: blur(20px)`, hairline borders-- Framer Motion adaptive spring physics (`useAdaptiveSpring`) synchronized with screen refresh rates+- **High-Contrast Overlays**: Solid dark `rgba(0, 0, 0, 0.85)` copy button overlays with crisp backdrop styling over images+- Minimalist macOS aesthetic — deep black obsidian surface, hairline borders, and adaptive spring physics (`useAdaptiveSpring`)- Custom SVG connection flares that scale with the blade- Scroll gradient masks top & bottom to fade items into black-- Monochrome pin / multiplier badges for maximum legibility- Reduce-motion setting for accessibility---diff --git a/package-lock.json b/package-lock.jsonindex ea3afab..3fdfa8b 100644--- a/package-lock.json+++ b/package-lock.json@@ -9,12 +9,15 @@"version": "0.1.5","license": "Apache-2.0","dependencies": {+ "@iconify-json/cuida": "^1.2.5",+ "@iconify/react": "^6.0.2","@radix-ui/react-scroll-area": "^1.2.13","@radix-ui/react-separator": "^1.1.11","@resvg/resvg-js": "^2.6.2","framer-motion": "^11.0.24","gsap": "^3.15.0","koffi": "^3.1.2",+ "lucide-react": "^1.26.0","react": "^18.2.0","react-dom": "^18.2.0","svg-path-bbox": "^2.1.0",@@ -1119,6 +1122,36 @@"node": ">=12"}},+ "node_modules/@iconify-json/cuida": {+ "version": "1.2.5",+ "resolved": "https://registry.npmjs.org/@iconify-json/cuida/-/cuida-1.2.5.tgz",+ "integrity": "sha512-+LCnHk53WIw9uTcskDT5Kpjwj8wEEI1YLNeX/yLdksQAt8VOOcIeZnRMmW0drnu8GK8SFw6IXu7CZdx7Kqnwqw==",+ "license": "Apache-2.0",+ "dependencies": {+ "@iconify/types": "*"+ }+ },+ "node_modules/@iconify/react": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/@iconify/react/-/react-6.0.2.tgz",+ "integrity": "sha512-SMmC2sactfpJD427WJEDN6PMyznTFMhByK9yLW0gOTtnjzzbsi/Ke/XqsumsavFPwNiXs8jSiYeZTmLCLwO+Fg==",+ "license": "MIT",+ "dependencies": {+ "@iconify/types": "^2.0.0"+ },+ "funding": {+ "url": "https://github.com/sponsors/cyberalien"+ },+ "peerDependencies": {+ "react": ">=16"+ }+ },+ "node_modules/@iconify/types": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/@iconify/types/-/types-2.0.0.tgz",+ "integrity": "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==",+ "license": "MIT"+ },"node_modules/@isaacs/fs-minipass": {"version": "4.0.1","resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz",@@ -5577,6 +5610,15 @@"yallist": "^3.0.2"}},+ "node_modules/lucide-react": {+ "version": "1.26.0",+ "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-1.26.0.tgz",+ "integrity": "sha512-raglYVR2+VkMfJL158krjVmE+rV5ST2lzA/KQm1FRSjMHT4MnWaegHxoVEpmc2So3nOEhp9oGejJwAPX8MoAjg==",+ "license": "ISC",+ "peerDependencies": {+ "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"+ }+ },"node_modules/magic-string": {"version": "0.30.21","resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",diff --git a/package.json b/package.jsonindex 276ee89..459d01c 100644--- a/package.json+++ b/package.json@@ -78,12 +78,15 @@"vitest": "^4.1.10"},"dependencies": {+ "@iconify-json/cuida": "^1.2.5",+ "@iconify/react": "^6.0.2","@radix-ui/react-scroll-area": "^1.2.13","@radix-ui/react-separator": "^1.1.11","@resvg/resvg-js": "^2.6.2","framer-motion": "^11.0.24","gsap": "^3.15.0","koffi": "^3.1.2",+ "lucide-react": "^1.26.0","react": "^18.2.0","react-dom": "^18.2.0","svg-path-bbox": "^2.1.0",diff --git a/shared/types.ts b/shared/types.tsindex 8b7f60a..ee440f8 100644--- a/shared/types.ts+++ b/shared/types.ts@@ -128,11 +128,6 @@ export interface Settings {* Off by default because it requires extra GPU compositing work.*/bounceAnimation: boolean- /**- * When true, blurs the panel during open/close.- * Off by default because filter: blur is resource-heavy.- */- blurAnimation: boolean/*** When true, automatically suppresses edge hover when a fullscreen game or app is active.* On by default to prevent accidental opening during PC gameplay.@@ -142,6 +137,8 @@ export interface Settings {showCopyIndicator: boolean/** Style variant of the copy indicator icon ('logo' | 'check' | 'copy' | 'sparkle'). Default: 'logo'. */copyIndicatorStyle: 'logo' | 'check' | 'copy' | 'sparkle'+ /** Last version for which the user opened/viewed the What's New changelog panel. */+ lastSeenChangelogVersion?: string}export const DEFAULT_SETTINGS: Settings = {@@ -159,10 +156,10 @@ export const DEFAULT_SETTINGS: Settings = {stickPosition: 'left',stickDisplayId: undefined,bounceAnimation: false,- blurAnimation: false,suppressInFullscreen: true,showCopyIndicator: true,- copyIndicatorStyle: 'logo'+ copyIndicatorStyle: 'logo',+ lastSeenChangelogVersion: undefined}diff --git a/src/components/ChangelogView.tsx b/src/components/ChangelogView.tsxnew file mode 100644index 0000000..0e487b9--- /dev/null+++ b/src/components/ChangelogView.tsx@@ -0,0 +1,280 @@+import { useStore } from '../store/appStore'++interface HighlightItem {+ title: string+ description: string+}++interface ChangelogRelease {+ version: string+ date: string+ isLatest: boolean+ summary: string+ highlights: HighlightItem[]+}++const CHANGELOG_DATA: ChangelogRelease[] = [+ {+ version: 'v0.1.5',+ date: 'Jul 24, 2026',+ isLatest: true,+ summary: 'Customizable Copy Indicator styles with a 2x2 grid selector flyout alongside panel hover stability fixes for medium and large panel heights.',+ highlights: [+ {+ title: 'Four Vector Indicator Options',+ description: 'Added support for 4 customizable copy indicator styles including Logo, Tick, Copy, and Sparkle.'+ },+ {+ title: 'Balanced 2x2 Grid Flyout Selector',+ description: 'Integrated a 2x2 grid selector flyout inside Settings under Indicator Style for quick style previews and one-click selection.'+ },+ {+ title: 'Clean Vector Graphic Rendering',+ description: 'Removed background circle badges so all icons float natively as solid vector graphics with subtle glowing drop shadows.'+ },+ {+ title: 'Panel Hover Boundary Fix for Settings Button',+ description: 'Resolved an issue where moving the cursor down toward the Settings button on medium (60%) and large (80%) panel heights caused the clipboard to prematurely close.'+ },+ {+ title: 'Recalibrated Y-Axis Hot Zone',+ description: 'Updated the panel height bounds calculation in the edge hover detector so the entire vertical area of the expanded blade remains active.'+ }+ ]+ },+ {+ version: 'v0.1.4',+ date: 'Jul 23, 2026',+ isLatest: false,+ summary: 'Automatic Fullscreen Protection for gamers and presenters - detecting Direct3D games and fullscreen media via native Windows APIs.',+ highlights: [+ {+ title: 'Automatic OS Game & Fullscreen Detection',+ description: 'Integrated native Windows API detection to identify Direct3D fullscreen games, presentation modes, and busy states.'+ },+ {+ title: 'Hover Suppression & Instant Auto-Retract',+ description: 'Automatically suppresses edge hover and instantly retracts the panel when a fullscreen game, video, or presentation is active in the foreground.'+ },+ {+ title: '0ms Latency & Hotkey Access',+ description: 'Background polling runs every 1 second with 0ms overhead during edge hover checks. Global shortcut Alt + C remains active.'+ },+ {+ title: 'Settings Toggle (Fullscreen Protection)',+ description: 'Added a user toggle under Behaviour in Settings (Fullscreen Protection, enabled by default).'+ },+ {+ title: 'GitHub Support & Feedback Links',+ description: 'Added a COMMUNITY & SUPPORT section in Settings linking directly to bug reports and feature requests.'+ }+ ]+ },+ {+ version: 'v0.1.3',+ date: 'Jul 23, 2026',+ isLatest: false,+ summary: 'Major multi-display architecture overhaul featuring single-source display selection, System Tray sync, and automatic OS disconnect recovery.',+ highlights: [+ {+ title: 'Single-Source Display Engine & Real-Time Tray Sync',+ description: 'Unified monitor listing and selection state across Application Settings and the System Tray context menu into a single source of truth.'+ },+ {+ title: 'Automatic OS Disconnect Recovery',+ description: 'When a secondary display hosting the panel is disconnected, Edge-Drop auto-heals its target back to the Primary Display.'+ },+ {+ title: 'Brief Visual Confirmation Pop-Ups',+ description: 'The clipboard panel automatically pops open for 1.5 seconds to visually confirm its position whenever a monitor configuration changes.'+ },+ {+ title: 'Universal Flyout Click-to-Paste',+ description: 'Clicking any text snippet, image thumbnail, or file tile inside an open Preview Flyout now instantly pastes that item into active applications.'+ },+ {+ title: 'Animation Controls',+ description: 'Added independent settings under Animations for bounce scale pop (bounceAnimation) and background blurring (blurAnimation).'+ }+ ]+ },+ {+ version: 'v0.1.2',+ date: 'Jul 22, 2026',+ isLatest: false,+ summary: 'Security infrastructure upgrades including Windows DPAPI history encryption, process isolation, Electron 34, and Preview Flyout drag-to-stack.',+ highlights: [+ {+ title: 'Windows DPAPI safeStorage Encryption & Electron 34',+ description: 'Clipboard history is now encrypted at rest using native Windows DPAPI. Core runtime upgraded to Electron v34.2.0.'+ },+ {+ title: 'Preview Flyout Drag-to-Stack Merging',+ description: 'You can drag any item from the clipboard shelf directly onto an open Preview Flyout to stack and merge items instantly.'+ },+ {+ title: 'Dynamic 100% Full-Width Single-File Layout',+ description: 'Opening the Preview Flyout for a single file dynamically expands to a full-width presentation.'+ },+ {+ title: 'Unified Image File Rendering',+ description: 'Images copied from File Explorer or desktop automatically render as rich visual image cards with thumbnails.'+ }+ ]+ },+ {+ version: 'v0.1.1',+ date: 'Jul 18, 2026',+ isLatest: false,+ summary: 'Multi-monitor configuration, screen edge selection (Left/Right), and background memory optimizations.',+ highlights: [+ {+ title: 'Multi-Monitor & Position Support',+ description: 'Targeted display selection allows anchoring to any connected monitor on either Left or Right screen edge.'+ },+ {+ title: 'Resource & Memory Optimization',+ description: 'Rebuilt image handling consuming up to 60% less RAM while idle.'+ },+ {+ title: 'Bug Fixes & UI Refinements',+ description: 'Display highlight accuracy defaults to primary display and Z-index rendering fixes.'+ }+ ]+ },+ {+ version: 'v0.1.0',+ date: 'Jul 10, 2026',+ isLatest: false,+ summary: 'Initial release of Edge-Drop, a zero-click desktop clipboard shelf living on the screen edge.',+ highlights: [+ {+ title: 'Zero-Click Activation & Edge Hover',+ description: 'Anchored at the screen edge with 120ms dwelling detection and physics-based spring panel opening.'+ },+ {+ title: 'OS-Level OLE Native Drag & Drop',+ description: 'Drag items directly into Photoshop, Word, Slack, or File Explorer.'+ },+ {+ title: 'Fluid Collections & 3D Stacks',+ description: 'Multi-file copies auto-group into expandable 3D card stacks.'+ },+ {+ title: 'Configurable Clipboard Engine',+ description: 'Incognito Mode, customizable history capacity (100-1000 items), auto-delete timers, and vertical trigger hot-zones.'+ }+ ]+ }+]++export function ChangelogView() {+ const currentVersion = useStore((s) => s.currentVersion)++ return (+ <div style={{+ display: 'flex',+ flexDirection: 'column',+ gap: '24px',+ padding: '16px',+ boxSizing: 'border-box',+ width: '100%',+ fontFamily: 'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',+ color: '#ffffff'+ }}>+ {CHANGELOG_DATA.map((rel, index) => {+ const isCurrent = currentVersion ? `v${currentVersion}` === rel.version || currentVersion === rel.version : rel.isLatest++ return (+ <div+ key={rel.version}+ style={{+ display: 'flex',+ flexDirection: 'column',+ gap: '12px',+ paddingBottom: index < CHANGELOG_DATA.length - 1 ? '24px' : '0',+ borderBottom: index < CHANGELOG_DATA.length - 1 ? '1px solid rgba(255, 255, 255, 0.08)' : 'none'+ }}+ >+ {/* Version Header */}+ <div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between' }}>+ <div style={{ display: 'flex', alignItems: 'center', gap: '8px' }}>+ <span style={{+ fontSize: '15px',+ fontWeight: 700,+ color: '#ffffff',+ fontFamily: 'Consolas, "Cascadia Code", monospace',+ letterSpacing: '-0.02em'+ }}>+ {rel.version}+ </span>+ {isCurrent && (+ <span style={{+ fontSize: '10px',+ fontWeight: 600,+ color: 'rgba(255, 255, 255, 0.75)',+ background: 'rgba(255, 255, 255, 0.08)',+ border: '1px solid rgba(255, 255, 255, 0.15)',+ padding: '2px 6px',+ borderRadius: '4px',+ letterSpacing: '0.04em',+ textTransform: 'uppercase'+ }}>+ LATEST+ </span>+ )}+ </div>+ <span style={{ fontSize: '12px', color: 'rgba(255, 255, 255, 0.45)', fontWeight: 400 }}>+ {rel.date}+ </span>+ </div>++ {/* Summary */}+ <p style={{+ fontSize: '13px',+ lineHeight: '1.6',+ color: 'rgba(255, 255, 255, 0.75)',+ margin: 0,+ fontWeight: 400+ }}>+ {rel.summary}+ </p>++ {/* Highlights Bullet List */}+ <div style={{ display: 'flex', flexDirection: 'column', gap: '8px', marginTop: '4px' }}>+ {rel.highlights.map((item, idx) => (+ <div+ key={idx}+ style={{+ display: 'flex',+ alignItems: 'flex-start',+ gap: '10px',+ fontSize: '13px',+ lineHeight: '1.55'+ }}+ >+ <span style={{+ color: 'rgba(255, 255, 255, 0.35)',+ fontSize: '14px',+ lineHeight: '1.5',+ userSelect: 'none'+ }}>+ •+ </span>+ <div style={{ display: 'flex', flexDirection: 'column', gap: '2px' }}>+ <span style={{ fontWeight: 600, color: 'rgba(255, 255, 255, 0.95)' }}>+ {item.title}+ </span>+ <span style={{ color: 'rgba(255, 255, 255, 0.6)', fontSize: '12.5px', lineHeight: '1.5' }}>+ {item.description}+ </span>+ </div>+ </div>+ ))}+ </div>+ </div>+ )+ })}+ </div>+ )+}diff --git a/src/components/Header.tsx b/src/components/Header.tsxindex 4f578e2..7e30e24 100644--- a/src/components/Header.tsx+++ b/src/components/Header.tsx@@ -1,12 +1,33 @@/** Panel header: title + settings toggle. */import { motion } from 'framer-motion'import { useStore } from '../store/appStore'-import { GearIcon, CloseIcon } from './icons'+import { GearIcon, CloseIcon, SparklesIcon, InfoIcon } from './icons'export function Header() {const setSettingsOpen = useStore((s) => s.setSettingsOpen)const settingsOpen = useStore((s) => s.settingsOpen)const updateInfo = useStore((s) => s.updateInfo)+ const settingsSubView = useStore((s) => s.settingsSubView)+ const setSettingsSubView = useStore((s) => s.setSettingsSubView)+ const settings = useStore((s) => s.settings)+ const patchSettings = useStore((s) => s.patchSettings)+ const currentVersion = useStore((s) => s.currentVersion)++ const isChangelogUnread = settingsOpen && (+ !settings.lastSeenChangelogVersion ||+ (currentVersion && settings.lastSeenChangelogVersion !== currentVersion && settings.lastSeenChangelogVersion !== `v${currentVersion}`)+ )++ const handleOpenChangelog = () => {+ if (settingsSubView === 'changelog') {+ setSettingsSubView('main')+ } else {+ setSettingsSubView('changelog')+ if (currentVersion) {+ patchSettings({ lastSeenChangelogVersion: currentVersion })+ }+ }+ }return (<div className="header" style={{ display: 'flex', justifyContent: 'space-between', width: '100%', alignItems: 'center', height: 40, padding: '0 14px 0 6px' }}>@@ -34,48 +55,97 @@ export function Header() {</svg>{settingsOpen && (<span style={{ fontSize: 13, fontWeight: 600, color: '#8e8e93', letterSpacing: '0.01em' }}>- / Settings+ / {settingsSubView === 'changelog' ? "What's New" : 'Settings'}</span>)}</div>- <motion.button- type="button"- layout- className={`icon-btn${settingsOpen ? ' active' : ''}`}- title={settingsOpen ? 'Close Settings' : 'Settings'}- onClick={() => setSettingsOpen(!settingsOpen)}- style={{- color: '#ffffff',- background: 'transparent',- border: 'none',- boxShadow: 'none',- flexShrink: 0,- cursor: 'pointer',- width: 32,- height: 32,- display: 'grid',- placeItems: 'center',- position: 'relative'- }}- >- {settingsOpen ? <CloseIcon /> : <GearIcon />}- {!settingsOpen && updateInfo?.hasUpdate && (- <span+ <div style={{ display: 'flex', alignItems: 'center', gap: 4 }}>+ {settingsOpen && (+ <button+ type="button"+ className={`icon-btn${settingsSubView === 'changelog' ? ' active' : ''}`}+ title={settingsSubView === 'changelog' ? "Back to Settings" : "What's New"}+ onClick={handleOpenChangelog}style={{- position: 'absolute',- top: 5,- right: 5,- width: 8,- height: 8,- borderRadius: '50%',- backgroundColor: '#f97316',- border: '1.5px solid #000000',- pointerEvents: 'none'+ color: settingsSubView === 'changelog' ? '#ffffff' : 'rgba(255, 255, 255, 0.75)',+ background: settingsSubView === 'changelog' ? 'rgba(255, 255, 255, 0.12)' : 'transparent',+ border: 'none',+ boxShadow: 'none',+ flexShrink: 0,+ cursor: 'pointer',+ width: 32,+ height: 32,+ display: 'grid',+ placeItems: 'center',+ position: 'relative',+ borderRadius: 8,+ transition: 'all 0.15s ease'}}- />+ >+ <InfoIcon width={16} height={16} />+ {isChangelogUnread && (+ <span+ style={{+ position: 'absolute',+ top: 6,+ right: 6,+ width: 6,+ height: 6,+ borderRadius: '50%',+ backgroundColor: '#ffffff',+ boxShadow: '0 0 6px rgba(255, 255, 255, 0.6)',+ border: '1.5px solid #000000',+ pointerEvents: 'none'+ }}+ />+ )}+ </button>)}- </motion.button>++ <motion.button+ type="button"+ layout+ className={`icon-btn${settingsOpen ? ' active' : ''}`}+ title={settingsOpen ? 'Close Settings' : 'Settings'}+ onClick={() => {+ setSettingsOpen(!settingsOpen)+ if (settingsOpen) {+ setSettingsSubView('main')+ }+ }}+ style={{+ color: '#ffffff',+ background: 'transparent',+ border: 'none',+ boxShadow: 'none',+ flexShrink: 0,+ cursor: 'pointer',+ width: 32,+ height: 32,+ display: 'grid',+ placeItems: 'center',+ position: 'relative'+ }}+ >+ {settingsOpen ? <CloseIcon /> : <GearIcon />}+ {!settingsOpen && updateInfo?.hasUpdate && (+ <span+ style={{+ position: 'absolute',+ top: 5,+ right: 5,+ width: 8,+ height: 8,+ borderRadius: '50%',+ backgroundColor: '#f97316',+ border: '1.5px solid #000000',+ pointerEvents: 'none'+ }}+ />+ )}+ </motion.button>+ </div></div>)}diff --git a/src/components/ItemList.tsx b/src/components/ItemList.tsxindex 9443c3e..e8d0cf7 100644--- a/src/components/ItemList.tsx+++ b/src/components/ItemList.tsx@@ -14,7 +14,7 @@ import { useStore } from '../store/appStore'import { useFilteredItems } from '../hooks/useFilteredItems'import { ClipboardItemCard } from './ClipboardItem'import { EmptyState } from './EmptyState'-import { ChevronUpIcon, ChevronDownIcon } from './icons'+import { ChevronUpIcon, ChevronDownIcon, PinFillIcon } from './icons'export function ItemList() {const { pinned, recent } = useFilteredItems()@@ -193,23 +193,34 @@ export function ItemList() {<divclassName={`section-label pinned-header-interactive ${pinnedCollapsed ? 'is-collapsed' : ''}`}onClick={() => setPinnedCollapsed(!pinnedCollapsed)}- title={pinnedCollapsed ? "Click to expand pinned items" : "Click to compress pinned items"}+ title={pinnedCollapsed ? "Click to expand pinned items" : "Click to collapse pinned items"}><div className="pinned-header-left">+ <PinFillIcon width={13} height={13} style={{ opacity: 0.9, color: '#ffffff' }} /><span>Pinned</span><span className="pinned-count-badge">{pinned.length}</span></div><div className="pinned-header-right">- <span className="pinned-toggle-hint">{pinnedCollapsed ? 'Expand' : 'Compress'}</span>- <button className="act bundle-collapse-btn">- {pinnedCollapsed ? <ChevronDownIcon /> : <ChevronUpIcon />}+ <button className="act bundle-collapse-btn" type="button" aria-label="Toggle pinned section">+ <ChevronDownIcon style={{ transform: pinnedCollapsed ? 'rotate(0deg)' : 'rotate(180deg)', transition: 'transform 0.22s ease' }} /></button></div></div><AnimatePresence initial={false}>- {!pinnedCollapsed && pinned.map((it) => (- <ClipboardItemCard key={it.id} item={it} />- ))}+ {!pinnedCollapsed && (+ <motion.div+ key="pinned-items-container"+ initial={{ opacity: 0, height: 0 }}+ animate={{ opacity: 1, height: 'auto' }}+ exit={{ opacity: 0, height: 0 }}+ transition={{ duration: 0.22, ease: [0.22, 1, 0.36, 1] }}+ style={{ overflow: 'hidden', display: 'flex', flexDirection: 'column', gap: 8, marginTop: 6 }}+ >+ {pinned.map((it) => (+ <ClipboardItemCard key={it.id} item={it} />+ ))}+ </motion.div>+ )}</AnimatePresence></section>)}diff --git a/src/components/Panel.tsx b/src/components/Panel.tsxindex f8fbb88..c7a7dc3 100644--- a/src/components/Panel.tsx+++ b/src/components/Panel.tsx@@ -30,7 +30,6 @@ export function Panel() {const setQuery = useStore((s) => s.setQuery)const copyFlareActive = useStore((s) => s.copyFlareActive)const bounceAnimation = settings.bounceAnimation- const blurAnimation = settings.blurAnimationuseEffect(() => {if (!open) {@@ -235,12 +234,10 @@ export function Panel() {style={containerStyle}animate={{scale: bounceAnimation && open ? [0.92, 1.05, 0.98, 1] : 1,- filter: blurAnimation ? (open ? 'blur(0px)' : 'blur(16px)') : 'blur(0px)',opacity: open ? 1 : 0.98}}transition={{scale: bounceAnimation && open ? { duration: 0.55, ease: [0.22, 1, 0.36, 1] } : { duration: 0.15 },- filter: blurAnimation ? { duration: open ? 0.8 : 0.45, ease: open ? [0.16, 1, 0.3, 1] : [0.4, 0, 0.2, 1] } : { duration: 0.1 },opacity: { duration: open ? 0.12 : 0.08, ease: 'easeOut' }}}>diff --git a/src/components/Settings.tsx b/src/components/Settings.tsxindex dfcfb18..e669fe9 100644--- a/src/components/Settings.tsx+++ b/src/components/Settings.tsx@@ -5,6 +5,7 @@ import type { DisplayInfo } from '../../shared/types'import { LiquidOctopusLoader } from './LiquidOctopusLoader'import { TickIndicatorIcon, CopyIndicatorIcon, SparkleIndicatorIcon } from './CopyIndicatorCurve'import { ChevronRightIcon, CloseIcon } from './icons'+import { ChangelogView } from './ChangelogView'import '../styles/settings.css'export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: boolean }) {@@ -14,6 +15,7 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: boolconst currentVersion = useStore((s) => s.currentVersion)const styleFlyoutOpen = useStore((s) => s.styleFlyoutOpen)const setStyleFlyoutOpen = useStore((s) => s.setStyleFlyoutOpen)+ const settingsSubView = useStore((s) => s.settingsSubView)const [localInlineOpen, setLocalInlineOpen] = useState(false)const isTutorial = inlineIndicatorStyle || (typeof window !== 'undefined' && window.location.hash.includes('onboarding'))@@ -34,7 +36,28 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool}, [])return (- <div className="settings-list">+ <AnimatePresence mode="wait">+ {settingsSubView === 'changelog' ? (+ <motion.div+ key="changelog-view"+ initial={{ opacity: 0, x: 12 }}+ animate={{ opacity: 1, x: 0 }}+ exit={{ opacity: 0, x: -12 }}+ transition={{ type: 'spring', stiffness: 400, damping: 36, mass: 0.6 }}+ style={{ width: '100%', height: '100%', overflowY: 'auto' }}+ >+ <ChangelogView />+ </motion.div>+ ) : (+ <motion.div+ key="main-settings"+ initial={{ opacity: 0, x: -12 }}+ animate={{ opacity: 1, x: 0 }}+ exit={{ opacity: 0, x: 12 }}+ transition={{ type: 'spring', stiffness: 400, damping: 36, mass: 0.6 }}+ style={{ width: '100%', height: '100%', overflowY: 'auto' }}+ >+ <div className="settings-list">{/* ── Update banner ───────────────────────────────────────────── */}{updateInfo?.hasUpdate && (@@ -440,16 +463,14 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool</>)}- {/* ══ GROUP: Animations ═══════════════════════════════════════════ */}- <div className="setting-group-label" style={{ marginTop: 20 }}>Animations</div>+ {/* ══ GROUP: ANIMATIONS ═══════════════════════════════════════════ */}+ <div className="setting-group-label" style={{ marginTop: 20 }}>ANIMATIONS</div><div className="setting-row"><div className="setting-info">- <div className="setting-title">Bounce animation</div>- <div className="setting-desc">- Adds a springy overshoot pop when the panel opens.- <span className="setting-badge-subtle">May slightly affect performance</span>- </div>+ <div className="setting-title">Bounce Animation</div>+ <div className="setting-desc">Adds a springy overshoot pop when the panel opens.</div>+ <div className="setting-badge-subtle">May slightly affect performance</div></div><Togglechecked={settings.bounceAnimation ?? false}@@ -457,22 +478,6 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool/></div>- <div className="setting-divider" />-- <div className="setting-row">- <div className="setting-info">- <div className="setting-title">Blur animation</div>- <div className="setting-desc">- Blurs the panel as it opens and closes.- <span className="setting-badge-subtle">May slightly affect performance</span>- </div>- </div>- <Toggle- checked={settings.blurAnimation ?? false}- onChange={(v) => patch({ blurAnimation: v })}- />- </div>-{/* ══ GROUP: Community & Support ════════════════════════════════════ */}<div className="setting-group-label" style={{ marginTop: 20 }}>COMMUNITY & SUPPORT</div>@@ -495,7 +500,7 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: bool<div className="github-promo"><div className="github-promo-text">- If you like the application, please give a star to the GitHub repository — it means a lot!+ If you like Edge-Drop, please consider starring the project on GitHub!</div><buttonclassName="github-promo-btn"@@ -517,8 +522,10 @@ export function Settings({ inlineIndicatorStyle }: { inlineIndicatorStyle?: boolVersion {currentVersion || '0.1.0'}</div></div>-</div>+ </motion.div>+)}+</AnimatePresence>)}@@ -536,8 +543,43 @@ function Toggle({role="switch"aria-checked={checked}onClick={() => onChange(!checked)}+ style={{+ flexShrink: 0,+ width: 38,+ height: 22,+ borderRadius: 999,+ background: checked ? '#ffffff' : 'rgba(255, 255, 255, 0.12)',+ border: checked ? '1px solid #ffffff' : '1px solid rgba(255, 255, 255, 0.18)',+ position: 'relative',+ cursor: 'pointer',+ padding: 0,+ outline: 'none',+ transition: 'background 0.22s ease, border-color 0.22s ease',+ boxShadow: checked ? '0 0 12px rgba(255, 255, 255, 0.25)' : 'none'+ }}>- <span className="toggle-thumb" />+ <motion.span+ className="toggle-thumb"+ initial={false}+ animate={{+ x: checked ? 18 : 2,+ backgroundColor: checked ? '#000000' : '#ffffff'+ }}+ transition={{+ type: 'spring',+ stiffness: 600,+ damping: 35+ }}+ style={{+ position: 'absolute',+ top: 2,+ left: 0,+ width: 16,+ height: 16,+ borderRadius: '50%',+ boxShadow: '0 1.5px 4px rgba(0, 0, 0, 0.4)'+ }}+ /></button>)}diff --git a/src/components/icons.tsx b/src/components/icons.tsxindex e2f660f..611789a 100644--- a/src/components/icons.tsx+++ b/src/components/icons.tsx@@ -1,230 +1,83 @@/**- * Inline SVG icons powered by the professional Cuida icon set.- * Tiny, crisp, and unified across the UI and drag-and-drop.+ * Official Lucide React Icon Suite for Edge-Drop.+ * Powered by lucide-react — ultra-crisp 24x24 vector icons.*/import type { SVGProps, JSX } from 'react'+import {+ Info,+ Sparkles,+ ChevronLeft,+ ChevronRight,+ ChevronUp,+ ChevronDown,+ ExternalLink,+ Search,+ Pin,+ Trash2,+ Copy,+ Settings as SettingsGear,+ GripVertical,+ File,+ Image as ImageGraphic,+ Link,+ X,+ Minus,+ ArrowDownToLine,+ Layers,+ Maximize2,+ Minimize2,+ FolderOpen,+ Check,+ FileText,+ FileCode,+ FileArchive,+ FileSpreadsheet,+ Music,+ Video,+ Presentation+} from 'lucide-react'import { getFileKindByExt } from '../lib/fileType'type P = SVGProps<SVGSVGElement>-const base = (p: P): P => ({- width: 16,- height: 16,- viewBox: '0 0 24 24',- fill: 'none',- ...p-})-export const ExternalLinkIcon = (p: P) => (- <svg {...base(p)}>- <g fill="currentColor" fillRule="evenodd" clipRule="evenodd">- <path d="M14 4a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0V6.414l-8.293 8.293a1 1 0 0 1-1.414-1.414L17.586 5H15a1 1 0 0 1-1-1Z" />- <path d="M5 5a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 1 1 2 0v5a4 4 0 0 1-4 4H5a4 4 0 0 1-4-4V7a4 4 0 0 1 4-4h5a1 1 0 1 1 0 2H5Z" />- </g>- </svg>-)--export const SearchIcon = (p: P) => (- <svg {...base(p)}>- <g> <g fill="currentColor" fillRule="evenodd" clipRule="evenodd"> <path d="M11 17a6 6 0 1 0 0-12a6 6 0 0 0 0 12m0 2a8 8 0 1 0 0-16a8 8 0 0 0 0 16" /> <path d="M15.32 15.29a1 1 0 0 1 1.414.005l3.975 4a1 1 0 0 1-1.418 1.41l-3.975-4a1 1 0 0 1 .004-1.414Z" /> </g> </g>- </svg>-)--export const PinIcon = (p: P) => (- <svg {...base(p)}>- <g> <g fill="currentColor" fillRule="evenodd" clipRule="evenodd"> <path d="M12 16.143a1 1 0 0 1 1 1V21a1 1 0 0 1-2 0v-3.857a1 1 0 0 1 1-1" /> <path d="M8.447 4.223q0 .01.007.033c.05.17.12.344.198.51c.262.549.53 1.246.53 2.027v3.85c0 1.03-.442 1.97-1.109 2.666c-.49.512-.873.979-1.169 1.391c-.114.16-.133.269-.135.321a.25.25 0 0 0 .052.16c.089.126.352.319.83.319h4.985a1 1 0 1 1 0 2H7.652c-.987 0-1.93-.403-2.468-1.17c-.58-.827-.556-1.887.095-2.795c.355-.495.8-1.035 1.35-1.61c.358-.373.553-.833.553-1.282v-3.85c0-.335-.118-.71-.336-1.168a5.5 5.5 0 0 1-.31-.805c-.265-.898.081-1.68.664-2.168C7.736 2.204 8.455 2 9.124 2h3.512a1 1 0 1 1 0 2H9.124c-.303 0-.536.099-.64.186a.2.2 0 0 0-.037.037m-.005.007" /> <path d="M15.553 4.223a3.5 3.5 0 0 1-.206.543c-.26.549-.529 1.246-.529 2.027v3.85c0 1.03.442 1.97 1.109 2.666c.49.512.873.979 1.169 1.391c.114.16.133.269.135.321a.25.25 0 0 1-.052.16c-.089.126-.352.319-.83.319h-4.985a1 1 0 1 0 0 2h4.985c.986 0 1.928-.403 2.467-1.17c.58-.827.556-1.887-.095-2.795c-.355-.495-.8-1.035-1.35-1.61c-.358-.373-.553-.833-.553-1.282v-3.85c0-.335.118-.71.335-1.168c.116-.243.226-.515.311-.805c.265-.898-.081-1.68-.664-2.168C16.264 2.204 15.545 2 14.876 2h-3.512a1 1 0 1 0 0 2h3.512c.303 0 .536.099.64.186q.029.026.037.037m.005.007" /> </g> </g>- </svg>-)--export const PinFillIcon = (p: P) => (- <svg {...base(p)}>- <path fill="currentColor" d="M11 21.715v-3.858a1 1 0 1 1 2 0v3.858l-.005.101a1 1 0 0 1-1.99 0z" /> <path fill="currentColor" d="m15.713 7.47l.437-1.53a1.746 1.746 0 0 0-1.679-2.226H10.23A2.32 2.32 0 0 0 7.955 6.49Q8 6.715 8 6.945v3.879c0 .899-.315 1.77-.89 2.46l-.874 1.048a1.758 1.758 0 0 0 1.35 2.883h8.972a1.307 1.307 0 0 0 1.087-2.032l-.98-1.471a4.9 4.9 0 0 1-.797-2.187l-.283-2.541a3.9 3.9 0 0 1 .127-1.513Z" /> <path fill="currentColor" d="M7.182 11.357v-3.85c0-.335-.118-.71-.335-1.168a5.5 5.5 0 0 1-.31-.804c-.265-.899.08-1.68.663-2.168c.536-.449 1.255-.653 1.924-.653h3.513l.101.005a1 1 0 0 1 0 1.99l-.101.005H9.124c-.303 0-.537.099-.64.186a.2.2 0 0 0-.037.036q0 .01.007.034c.05.17.12.344.198.51c.262.55.53 1.247.53 2.027v3.85c0 1.03-.442 1.971-1.109 2.667a13 13 0 0 0-1.169 1.39c-.114.16-.133.27-.135.322a.25.25 0 0 0 .052.159c.089.126.352.32.83.32h4.986l.101.004a1 1 0 0 1 0 1.99l-.101.005H7.65c-.986 0-1.929-.402-2.467-1.17c-.58-.826-.556-1.887.094-2.795c.356-.495.8-1.035 1.352-1.61c.358-.373.552-.833.552-1.282Z" /> <path fill="currentColor" d="M16.818 11.357v-3.85c0-.335.117-.71.335-1.168c.116-.242.226-.515.31-.804c.265-.899-.08-1.68-.663-2.168c-.536-.449-1.255-.653-1.924-.653h-3.513l-.101.005a1 1 0 0 0 0 1.99l.101.005h3.513c.303 0 .537.099.64.186q.028.024.037.036q0 .01-.007.034c-.05.17-.12.344-.198.51c-.262.55-.53 1.247-.53 2.027v3.85c0 1.03.442 1.971 1.109 2.667c.49.511.873.978 1.169 1.39c.114.16.133.27.134.322a.25.25 0 0 1-.051.159c-.089.126-.352.32-.83.32h-4.986l-.101.004a1 1 0 0 0 0 1.99l.101.005h4.986c.986 0 1.929-.402 2.467-1.17c.58-.826.556-1.887-.094-2.795a15 15 0 0 0-1.352-1.61c-.358-.373-.552-.833-.552-1.282" />- </svg>-)--export const TrashIcon = (p: P) => (- <svg {...base(p)}>- <g> <g fill="currentColor" fillRule="evenodd" clipRule="evenodd"> <path d="M4.917 6.003a1 1 0 0 1 1.08.914l.849 10.248A2 2 0 0 0 8.839 19h6.322a2 2 0 0 0 1.993-1.835l.85-10.248a1 1 0 0 1 1.993.166l-.85 10.247A4 4 0 0 1 15.162 21H8.84a4 4 0 0 1-3.987-3.67l-.85-10.247a1 1 0 0 1 .914-1.08" /> <path d="M3 7a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1m7 2a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0v-6a1 1 0 0 1 1-1m4 0a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-4a1 1 0 0 1 1-1" /> <path d="M10.441 5a1 1 0 0 0-.948.684l-.544 1.632a1 1 0 1 1-1.898-.632l.544-1.633A3 3 0 0 1 10.441 3h3.117a3 3 0 0 1 2.846 2.051l.545 1.633a1 1 0 0 1-1.898.632l-.544-1.632A1 1 0 0 0 13.56 5h-3.117Z" /> </g> </g>- </svg>-)--export const CopyIcon = (p: P) => (- <svg {...base(p)}>- <g> <g fill="currentColor" fillRule="evenodd" clipRule="evenodd"> <path d="M2 11.667a3.4 3.4 0 0 1 3.4-3.4h2.205v2H5.4a1.4 1.4 0 0 0-1.4 1.4v7.2a1.4 1.4 0 0 0 1.4 1.4h7.2a1.4 1.4 0 0 0 1.4-1.4v-1.8h2v1.8a3.4 3.4 0 0 1-3.4 3.4H5.4a3.4 3.4 0 0 1-3.4-3.4z" /> <path d="M10 3h8a4 4 0 0 1 4 4v8a4 4 0 0 1-4 4h-8a4 4 0 0 1-4-4V7a4 4 0 0 1 4-4m0 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2z" /> </g> </g>- </svg>-)--export const GearIcon = (p: P) => (- <svg {...base(p)} stroke="currentColor" strokeWidth="2.2" strokeLinecap="round" strokeLinejoin="round">- <path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z" />- <circle cx="12" cy="12" r="3" />- </svg>-)--export const GripIcon = (p: P) => (- <svg {...base(p)}>- <g> <path fill="currentColor" d="M9.5 6a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3m0 5a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3m0 5a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3m0 5a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3m5-15a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3m0 5a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3m0 5a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3m0 5a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3" /> </g>- </svg>-)--export const FileIcon = (p: P) => (- <svg {...base(p)}>- <g> <g fill="currentColor" fillRule="evenodd" clipRule="evenodd"> <path d="M15.143 22H8.286A4.286 4.286 0 0 1 4 17.714V6.286A4.286 4.286 0 0 1 8.286 2h4.008a3.5 3.5 0 0 1 2.304.866l3.635 3.18a3.5 3.5 0 0 1 1.196 2.635v9.033A4.286 4.286 0 0 1 15.143 22m0-2H8.286A2.286 2.286 0 0 1 6 17.714V6.286A2.286 2.286 0 0 1 8.286 4h4.008a1.5 1.5 0 0 1 .987.371l3.635 3.18a1.5 1.5 0 0 1 .513 1.13v9.033A2.286 2.286 0 0 1 15.143 20" /> <path d="M13 3a1 1 0 0 1 1 1v3a1 1 0 0 0 1 1h2.5a1 1 0 1 1 0 2H15a3 3 0 0 1-3-3V4a1 1 0 0 1 1-1" /> </g> </g>- </svg>-)--export const ImageIcon = (p: P) => (- <svg {...base(p)}>- <g> <g fill="currentColor"> <path fillRule="evenodd" d="M6.188 2h11.625A4.187 4.187 0 0 1 22 6.188v11.625A4.187 4.187 0 0 1 17.812 22H6.188A4.187 4.187 0 0 1 2 17.812V6.188A4.19 4.19 0 0 1 6.188 2m0 2C4.979 4 4 4.98 4 6.188v11.625C4 19.02 4.98 20 6.188 20h11.625C19.02 20 20 19.02 20 17.812V6.188C20 4.98 19.02 4 17.812 4z" clipRule="evenodd" /> <path fillRule="evenodd" d="M17.24 10.924a1.19 1.19 0 0 0-1.51-.013l-5.244 4.247a2.094 2.094 0 0 1-2.59.035l-1.385-1.06a.094.094 0 0 0-.122.007l-2.698 2.582a1 1 0 1 1-1.382-1.444l2.697-2.583a2.094 2.094 0 0 1 2.721-.15l1.385 1.06a.094.094 0 0 0 .116-.001l5.242-4.247a3.19 3.19 0 0 1 4.053.033l3.12 2.613a1 1 0 0 1-1.285 1.533z" clipRule="evenodd" /> <path d="M10.281 8.64a1.64 1.64 0 1 1-3.28 0a1.64 1.64 0 0 1 3.28 0" /> </g> </g>- </svg>-)--export const LinkIcon = (p: P) => (- <svg {...base(p)}>- <g> <g fill="currentColor" fillRule="evenodd" clipRule="evenodd"> <path d="M2 12.5A5.5 5.5 0 0 1 7.5 7h2.25a1 1 0 1 1 0 2H7.5a3.5 3.5 0 1 0 0 7h2.25a1 1 0 1 1 0 2H7.5A5.5 5.5 0 0 1 2 12.5M13.25 8a1 1 0 0 1 1-1h2.25a5.5 5.5 0 1 1 0 11h-2.25a1 1 0 1 1 0-2h2.25a3.5 3.5 0 1 0 0-7h-2.25a1 1 0 0 1-1-1" /> <path d="M7.4 12.56a1 1 0 0 1 1-1h7.2a1 1 0 0 1 0 2H8.4a1 1 0 0 1-1-1" /> </g> </g>- </svg>-)--export const CloseIcon = (p: P) => (- <svg- {...base(p)}- width="16"- height="16"- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth="2.2"- strokeLinecap="round"- strokeLinejoin="round"- shapeRendering="geometricPrecision"- >- <line x1="18" y1="6" x2="6" y2="18" />- <line x1="6" y1="6" x2="18" y2="18" />- </svg>-)--export const MinusIcon = (p: P) => (- <svg {...base(p)}>- <g> <path fill="currentColor" fillRule="evenodd" d="M21 12a1 1 0 0 1-1 1H4a1 1 0 1 1 0-2h16a1 1 0 0 1 1 1" clipRule="evenodd" /> </g>- </svg>-)--export const DropIcon = (p: P) => (- <svg {...base(p)}>- <g> <g fill="currentColor" fillRule="evenodd" clipRule="evenodd"> <path d="M7 22a5 5 0 0 1-5-5v-3a1 1 0 1 1 2 0v3a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3v-3a1 1 0 1 1 2 0v3a5 5 0 0 1-5 5z" /> <path d="M17.715 10.9a1 1 0 0 1-.016 1.415l-4.5 4.4a1 1 0 0 1-1.398 0l-4.5-4.4a1 1 0 1 1 1.398-1.43l2.801 2.739V5a1 1 0 1 1 2 0v8.624l2.8-2.739a1 1 0 0 1 1.415.016Z" /> </g> </g>- </svg>-)--export const BundleIcon = (p: P) => (- <svg {...base(p)}>- <g> <g fill="currentColor" fillRule="evenodd" clipRule="evenodd"> <path d="M3.08 16.83a1 1 0 0 1 1.314-.526l7.756 3.324l7.756-3.324a1 1 0 0 1 .788 1.838l-8.104 3.473a1.12 1.12 0 0 1-.88 0l-8.104-3.473a1 1 0 0 1-.525-1.313Z" /> <path d="M3.081 11.987a1 1 0 0 1 1.314-.524l7.755 3.334l7.755-3.334a1 1 0 0 1 .79 1.837l-8.103 3.483a1.12 1.12 0 0 1-.884 0L3.605 13.3a1 1 0 0 1-.524-1.313" /> <path d="M12.05 4.018a.1.1 0 0 1 .084 0l7.003 3.001a.108.108 0 0 1 0 .199l-7.003 3.001a.1.1 0 0 1-.085 0L5.047 7.218a.108.108 0 0 1 0-.199l7.002-3Zm.872-1.838l7.003 3c1.703.731 1.703 3.146 0 3.876l-7.003 3.001c-.53.227-1.13.227-1.66 0l-7.003-3c-1.704-.73-1.704-3.146 0-3.876l7.002-3.001a2.1 2.1 0 0 1 1.661 0" /> </g> </g>- </svg>-)--export const ChevronUpIcon = (p: P) => (- <svg {...base(p)}>- <path fill="currentColor" fillRule="evenodd" d="M19.707 16.207a1 1 0 0 1-1.414 0L12 9.914l-6.293 6.293a1 1 0 0 1-1.414-1.414L10.586 8.5a2 2 0 0 1 2.828 0l6.293 6.293a1 1 0 0 1 0 1.414" clipRule="evenodd" />- </svg>-)--export const ChevronDownIcon = (p: P) => (- <svg {...base(p)}>- <path fill="currentColor" fillRule="evenodd" d="M4.293 7.793a1 1 0 0 1 1.414 0L12 14.086l6.293-6.293a1 1 0 1 1 1.414 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7a1 1 0 0 1 0-1.414" clipRule="evenodd" />- </svg>-)--/** Expand — four arrows pointing outward to corners (video player "enter fullscreen") */-export const ExpandIcon = (p: P) => (- <svg {...base(p)}>- <path fill="currentColor" d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/>- </svg>-)--/** Contract — four arrows pointing inward from corners (video player "exit fullscreen") */-export const ContractIcon = (p: P) => (- <svg {...base(p)}>- <path fill="currentColor" d="M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"/>- </svg>-)--/** FolderOpen / Reveal in Explorer icon */-export const FolderOpenIcon = (p: P) => (- <svg {...base(p)}>- <path fill="currentColor" d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"/>- </svg>-)--/** Check / Success icon */-export const CheckIcon = (p: P) => (- <svg {...base(p)}>- <path fill="currentColor" d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/>- </svg>-)--export const FileIconGlyph = (p: P) => (- <svg {...base(p)}>- <g> <g fill="currentColor" fillRule="evenodd" clipRule="evenodd"> <path d="M15.143 22H8.286A4.286 4.286 0 0 1 4 17.714V6.286A4.286 4.286 0 0 1 8.286 2h4.008a3.5 3.5 0 0 1 2.304.866l3.635 3.18a3.5 3.5 0 0 1 1.196 2.635v9.033A4.286 4.286 0 0 1 15.143 22m0-2H8.286A2.286 2.286 0 0 1 6 17.714V6.286A2.286 2.286 0 0 1 8.286 4h4.008a1.5 1.5 0 0 1 .987.371l3.635 3.18a1.5 1.5 0 0 1 .513 1.13v9.033A2.286 2.286 0 0 1 15.143 20" /> <path d="M13 3a1 1 0 0 1 1 1v3a1 1 0 0 0 1 1h2.5a1 1 0 1 1 0 2H15a3 3 0 0 1-3-3V4a1 1 0 0 1 1-1" /> </g> </g>- </svg>-)--const PdfGlyph = (p: P) => (- <svg {...base(p)}>- <g> <g fill="currentColor" fillRule="evenodd" clipRule="evenodd"> <path d="M15.143 22H8.286A4.286 4.286 0 0 1 4 17.714V6.286A4.286 4.286 0 0 1 8.286 2h4.008a3.5 3.5 0 0 1 2.304.866l3.635 3.18a3.5 3.5 0 0 1 1.196 2.635v9.033A4.286 4.286 0 0 1 15.143 22m0-2H8.286A2.286 2.286 0 0 1 6 17.714V6.286A2.286 2.286 0 0 1 8.286 4h4.008a1.5 1.5 0 0 1 .987.371l3.635 3.18a1.5 1.5 0 0 1 .513 1.13v9.033A2.286 2.286 0 0 1 15.143 20" /> <path d="M7 12a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1m0 4a1 1 0 0 1 1-1h3.125a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1m6-13a1 1 0 0 1 1 1v3a1 1 0 0 0 1 1h2.5a1 1 0 1 1 0 2H15a3 3 0 0 1-3-3V4a1 1 0 0 1 1-1" /> </g> </g>- </svg>-)--const ArchiveGlyph = (p: P) => (- <svg {...base(p)}>- <g> <g fill="currentColor" fillRule="evenodd" clipRule="evenodd"> <path d="m14.071 2.887l4.786 2.762a4.14 4.14 0 0 1 2.071 3.588v5.526c0 1.48-.79 2.848-2.071 3.588l-4.786 2.762a4.14 4.14 0 0 1-4.142 0l-4.786-2.762a4.14 4.14 0 0 1-2.071-3.588V9.237c0-1.48.79-2.848 2.071-3.588L9.93 2.887a4.14 4.14 0 0 1 4.142 0Zm-1 1.732a2.14 2.14 0 0 0-2.142 0L6.143 7.38a2.14 2.14 0 0 0-1.071 1.856v5.526c0 .765.408 1.473 1.071 1.856l4.786 2.762a2.14 2.14 0 0 0 2.142 0l4.786-2.762a2.14 2.14 0 0 0 1.071-1.856V9.237c0-.765-.408-1.473-1.071-1.856L13.07 4.62Z" /> <path d="m10.595 11.844l-5.9-2.95l.895-1.788l5.899 2.949c.322.16.7.16 1.022 0l5.899-2.95l.895 1.79l-5.9 2.949a3.14 3.14 0 0 1-2.81 0" /> <path d="M13 11.428v9.143h-2v-9.143zM7.677 5.267a1 1 0 0 1 1.342-.447l6.857 3.428a1 1 0 1 1-.895 1.79l-6.857-3.43a1 1 0 0 1-.447-1.34Z" /> </g> </g>- </svg>-)--const CodeGlyph = (p: P) => (- <svg {...base(p)}>- <g> <g fill="currentColor" fillRule="evenodd" clipRule="evenodd"> <path d="M3 9.612c0-1.563 1.333-2.72 2.837-2.72H9v2H5.837c-.525 0-.837.383-.837.72v9.56c0 .337.312.72.837.72h6.326c.525 0 .837-.383.837-.72v-.288h2v.287c0 1.563-1.333 2.72-2.837 2.72H5.837C4.333 21.892 3 20.735 3 19.172z" /> <path d="M17.2 19h-5.4C9.643 19 8 17.214 8 15.143V5.857C8 3.787 9.643 2 11.8 2h3.022c.867 0 1.703.322 2.347.903l2.675 2.415A3.5 3.5 0 0 1 21 7.918v7.225C21 17.213 19.357 19 17.2 19m0-2h-5.4c-.994 0-1.8-.831-1.8-1.857V5.857C10 4.831 10.806 4 11.8 4h3.022c.372 0 .73.138 1.007.387l2.675 2.416A1.5 1.5 0 0 1 19 7.918v7.225C19 16.169 18.194 17 17.2 17" /> <path d="M11 11a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2h-4a1 1 0 0 1-1-1m0 4a1 1 0 0 1 1-1h2.5a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1m4-12a1 1 0 0 1 1 1v1.997C16 6.551 16.449 7 17.003 7H19a1 1 0 1 1 0 2h-1.997A3.003 3.003 0 0 1 14 5.997V4a1 1 0 0 1 1-1" /> </g> </g>- </svg>-)--const TextGlyph = (p: P) => (- <svg {...base(p)}>- <path fill="currentColor" d="m16.263 8.361l.001-.184c.009-.578.319-1.159.897-1.159h.85a.27.27 0 0 1 .27.27v8.654c0 .291.063.805.219.984c.156.171.439.257.8.257h1.18c.342 0 .59.221.644.56a3 3 0 0 1 .05.861c0 .234-.197.41-.431.416c-.12.003-.267-.002-.634-.002c-.468.03-1.235 0-1.72 0c-.837 0-1.19-.059-1.642-.44c-.593-.5-.5-1.23-.5-2zm4.069 1.66c.506 0 .991.333.991.84c0 .156-.007-.003-.023.139c-.05.403-.385.669-.791.673l-3.213.034h-2.68c-.481 0-.74-.324-.74-.805c0-.535.3-.9.835-.897l2.589.013zM3.433 7.005c-.307-.001-.58-.212-.609-.517a5 5 0 0 1-.024-.48q0-.224.024-.482c.03-.31.308-.526.62-.527l9.701-.017c.284 0 .543.177.584.458q.037.247.037.482q0 .582-.357.828q-.358.234-1.11.235l-.912.03q-.234 0-.702-.012A120 120 0 0 0 9.3 6.985h-2c-.164 0 .16.01-.143.018c-.304.008-1.043.011-1.215.011zM7.3 8.641v-.817q.012-.369.012-.84v-.062a.922.922 0 0 1 1.744-.417l.244.48v11.279a.723.723 0 0 1-.665.736c-.23.015-.146 0-.335 0c-.206 0-.11.015-.347 0a.71.71 0 0 1-.653-.724z" />- </svg>-)--const DocGlyph = (p: P) => (- <svg {...base(p)}>- <g> <g fill="currentColor" fillRule="evenodd" clipRule="evenodd"> <path d="M15.143 22H8.286A4.286 4.286 0 0 1 4 17.714V6.286A4.286 4.286 0 0 1 8.286 2h4.008a3.5 3.5 0 0 1 2.304.866l3.635 3.18a3.5 3.5 0 0 1 1.196 2.635v9.033A4.286 4.286 0 0 1 15.143 22m0-2H8.286A2.286 2.286 0 0 1 6 17.714V6.286A2.286 2.286 0 0 1 8.286 4h4.008a1.5 1.5 0 0 1 .987.371l3.635 3.18a1.5 1.5 0 0 1 .513 1.13v9.033A2.286 2.286 0 0 1 15.143 20" /> <path d="M7 12a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1m0 4a1 1 0 0 1 1-1h3.125a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1m6-13a1 1 0 0 1 1 1v3a1 1 0 0 0 1 1h2.5a1 1 0 1 1 0 2H15a3 3 0 0 1-3-3V4a1 1 0 0 1 1-1" /> </g> </g>- </svg>-)--const SheetGlyph = (p: P) => (- <svg {...base(p)}>- <g> <g fill="currentColor" fillRule="evenodd" clipRule="evenodd"> <path d="M6 2h12a4 4 0 0 1 4 4v12a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V6a4 4 0 0 1 4-4m0 2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z" /> <path d="M12 6a1 1 0 0 1 1 1v10a1 1 0 1 1-2 0V7a1 1 0 0 1 1-1M7 9a1 1 0 0 1 1 1v7a1 1 0 1 1-2 0v-7a1 1 0 0 1 1-1m10 3a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-4a1 1 0 0 1 1-1" /> </g> </g>- </svg>-)--const SlideGlyph = (p: P) => (- <svg {...base(p)}>- <g> <g fill="currentColor" fillRule="evenodd" clipRule="evenodd"> <path d="M4.511 5.032c.197-.037.462-.038 1.004-.031a7 7 0 0 1 1.953.294c1.026.312 2.084.94 3.029 1.5l.082.05c.208.123.331.197.415.253a19 19 0 0 1 .006.448v10.367c-.977-.474-2.195-.884-3.78-1.203a49 49 0 0 1-1.888-.493c-.47-.14-.635-.226-.684-.261a1.6 1.6 0 0 1-.336-.294a1.6 1.6 0 0 1-.204-.398c-.092-.233-.108-.5-.108-1.558v-6.81c0-.671.003-1.054.05-1.336c.037-.225.089-.299.158-.367a.5.5 0 0 1 .303-.16ZM5.401 3c-.884-.013-1.792-.026-2.599.771c-.436.43-.636.926-.725 1.464C2 5.698 2 6.249 2 6.83v7.024c0 .838-.002 1.513.248 2.145c.126.319.27.615.488.894c.217.278.47.49.748.69c.346.247.8.408 1.276.55c.494.148 1.147.31 1.972.517l.049.012l.023.005c2.184.437 3.471 1.033 4.35 1.641l.011.008c.045.031.15.104.254.157c.097.049.523.253 1 .003a1.08 1.08 0 0 0 .565-.821c.017-.116.016-.244.016-.297V7.513c0-.225 0-.456-.018-.654a1.85 1.85 0 0 0-.224-.765a1.9 1.9 0 0 0-.555-.59a8 8 0 0 0-.574-.362l-.029-.017l-.144-.086c-.897-.533-2.14-1.273-3.407-1.658a9 9 0 0 0-2.51-.38z" /> <path d="M19.489 5.032c-.197-.037-.462-.038-1.004-.031a7 7 0 0 0-1.953.294c-1.026.312-2.084.94-3.029 1.5l-.082.05c-.208.123-.331.197-.415.253l-.004.13C13 7.314 13 7.416 13 7.545v10.367c.977-.474 2.195-.884 3.78-1.203a49 49 0 0 0 1.888-.493c.47-.14.635-.226.684-.261a1.6 1.6 0 0 0 .336-.294c.053-.069.114-.17.204-.398c.092-.233.108-.5.108-1.558v-6.81c0-.671-.003-1.054-.05-1.336c-.037-.225-.089-.299-.158-.367a.5.5 0 0 0-.303-.16M18.599 3c.884-.013 1.791-.026 2.599.771c.436.43.636.926.725 1.464C22 5.698 22 6.249 22 6.83v7.024c0 .838.002 1.513-.248 2.145a3.5 3.5 0 0 1-.488.894c-.217.278-.47.49-.748.69c-.346.247-.8.408-1.276.55c-.494.148-1.147.31-1.972.517l-.049.012l-.023.005c-2.184.437-3.471 1.033-4.35 1.641l-.011.008c-.045.031-.15.104-.254.157a1.09 1.09 0 0 1-1 .003a1.09 1.09 0 0 1-.565-.821a2 2 0 0 1-.016-.297V7.513c0-.225 0-.456.018-.654c.02-.224.07-.495.224-.765a1.9 1.9 0 0 1 .555-.59c.165-.12.37-.241.574-.362l.029-.017l.144-.086c.897-.533 2.14-1.273 3.406-1.658a9 9 0 0 1 2.511-.38l.139-.002Z" /> </g> </g>- </svg>-)--const AudioGlyph = (p: P) => (- <svg {...base(p)}>- <path fill="currentColor" fillRule="evenodd" d="M6.733 7.2H5.545c-.235 0-.514 0-.761.02c-.39.025-.773.125-1.125.296A3 3 0 0 0 2.316 8.86c-.215.43-.273.84-.296 1.125a10 10 0 0 0-.02.806v2.465c0 .235 0 .514.02.761c.023.286.08.695.296 1.125a3 3 0 0 0 1.343 1.343c.43.215.84.273 1.125.296c.247.02.526.02.76.02h1.189l1.056 1.129l.05.054c.38.405.75.8 1.073 1.09c.28.253.888.778 1.748.876a3 3 0 0 0 2.625-1.037c.56-.66.645-1.457.678-1.834c.037-.433.037-.973.037-1.529V8.451c0-.556 0-1.096-.037-1.529c-.033-.376-.117-1.175-.678-1.834A3 3 0 0 0 10.66 4.05c-.86.098-1.467.623-1.748.876c-.323.29-.692.685-1.072 1.09l-.05.054zm.979 7.761c.1.067.187.159.36.342l1.177 1.259c.848.906 1.272 1.358 1.638 1.4a1 1 0 0 0 .875-.346c.238-.28.238-.9.238-2.14V8.524c0-1.24 0-1.861-.238-2.141a1 1 0 0 0-.875-.346c-.366.042-.79.494-1.638 1.4L8.07 8.697c-.172.183-.258.275-.36.341a1 1 0 0 1-.306.133c-.117.029-.243.029-.494.029H5.59c-.55 0-.826 0-1.037.105a1 1 0 0 0-.448.448C4 9.964 4 10.239 4 10.79v2.42c0 .55 0 .826.105 1.037a1 1 0 0 0 .448.447c.21.106.486.106 1.037.106h1.32c.252 0 .378 0 .495.029q.165.04.307.132m7.569-7.156a1 1 0 0 1 1.414-.024A5.87 5.87 0 0 1 18.5 12c0 1.59-.654 3.106-1.805 4.219a1.001 1.001 0 0 1-1.698-.735a1 1 0 0 1 .308-.703A3.87 3.87 0 0 0 16.5 12a3.87 3.87 0 0 0-1.195-2.781a1 1 0 0 1-.024-1.414" clipRule="evenodd" /> <path fill="currentColor" fillRule="evenodd" d="M17.36 4.367a.9.9 0 0 1 1.273-.006A10.75 10.75 0 0 1 21.828 12c0 2.867-1.15 5.615-3.195 7.64a.901.901 0 0 1-1.463-.99a.9.9 0 0 1 .197-.29a8.95 8.95 0 0 0 2.66-6.36a8.95 8.95 0 0 0-2.66-6.36a.9.9 0 0 1-.007-1.273" clipRule="evenodd" />- </svg>-)--const VideoGlyph = (p: P) => (- <svg {...base(p)}>- <g> <g fill="currentColor" fillRule="evenodd" clipRule="evenodd"> <path d="M6 5h7a4 4 0 0 1 4 4v6a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V9a4 4 0 0 1 4-4m0 2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h7a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z" /> <path d="M20 14.887a.5.5 0 0 1-.832.373l-2-1.777a.5.5 0 0 1-.168-.374V10.83a.5.5 0 0 1 .172-.377l2-1.736a.5.5 0 0 1 .828.378v5.79Zm-4.139-5.944l2-1.735C19.482 5.803 22 6.953 22 9.096v5.79c0 2.158-2.549 3.302-4.16 1.87l-2-1.779A2.5 2.5 0 0 1 15 13.11v-2.28a2.5 2.5 0 0 1 .861-1.888Z" /> </g> </g>- </svg>-)--const PhotoGlyph = (p: P) => (- <svg {...base(p)}>- <g> <g fill="currentColor"> <path fillRule="evenodd" d="M6.188 2h11.625A4.187 4.187 0 0 1 22 6.188v11.625A4.187 4.187 0 0 1 17.812 22H6.188A4.187 4.187 0 0 1 2 17.812V6.188A4.19 4.19 0 0 1 6.188 2m0 2C4.979 4 4 4.98 4 6.188v11.625C4 19.02 4.98 20 6.188 20h11.625C19.02 20 20 19.02 20 17.812V6.188C20 4.98 19.02 4 17.812 4z" clipRule="evenodd" /> <path fillRule="evenodd" d="M17.24 10.924a1.19 1.19 0 0 0-1.51-.013l-5.244 4.247a2.094 2.094 0 0 1-2.59.035l-1.385-1.06a.094.094 0 0 0-.122.007l-2.698 2.582a1 1 0 1 1-1.382-1.444l2.697-2.583a2.094 2.094 0 0 1 2.721-.15l1.385 1.06a.094.094 0 0 0 .116-.001l5.242-4.247a3.19 3.19 0 0 1 4.053.033l3.12 2.613a1 1 0 0 1-1.285 1.533z" clipRule="evenodd" /> <path d="M10.281 8.64a1.64 1.64 0 1 1-3.28 0a1.64 1.64 0 0 1 3.28 0" /> </g> </g>- </svg>-)+export const InfoIcon = (p: P) => <Info size={p.width ?? 16} strokeWidth={2} {...(p as any)} />+export const SparklesIcon = (p: P) => <Sparkles size={p.width ?? 16} {...(p as any)} />+export const WhatsNewIcon = InfoIcon+export const ChevronLeftIcon = (p: P) => <ChevronLeft size={p.width ?? 16} {...(p as any)} />+export const ChevronRightIcon = (p: P) => <ChevronRight size={p.width ?? 16} {...(p as any)} />+export const ChevronUpIcon = (p: P) => <ChevronUp size={p.width ?? 16} {...(p as any)} />+export const ChevronDownIcon = (p: P) => <ChevronDown size={p.width ?? 16} {...(p as any)} />+export const ExternalLinkIcon = (p: P) => <ExternalLink size={p.width ?? 16} {...(p as any)} />+export const SearchIcon = (p: P) => <Search size={p.width ?? 16} {...(p as any)} />+export const PinIcon = (p: P) => <Pin size={p.width ?? 16} {...(p as any)} />+export const PinFillIcon = (p: P) => <Pin size={p.width ?? 16} fill="currentColor" {...(p as any)} />+export const TrashIcon = (p: P) => <Trash2 size={p.width ?? 16} {...(p as any)} />+export const CopyIcon = (p: P) => <Copy size={p.width ?? 16} {...(p as any)} />+export const GearIcon = (p: P) => <SettingsGear size={p.width ?? 16} {...(p as any)} />+export const GripIcon = (p: P) => <GripVertical size={p.width ?? 16} {...(p as any)} />+export const FileIcon = (p: P) => <File size={p.width ?? 16} {...(p as any)} />+export const ImageIcon = (p: P) => <ImageGraphic size={p.width ?? 16} {...(p as any)} />+export const LinkIcon = (p: P) => <Link size={p.width ?? 16} {...(p as any)} />+export const CloseIcon = (p: P) => <X size={p.width ?? 16} {...(p as any)} />+export const MinusIcon = (p: P) => <Minus size={p.width ?? 16} {...(p as any)} />+export const DropIcon = (p: P) => <ArrowDownToLine size={p.width ?? 16} {...(p as any)} />+export const BundleIcon = (p: P) => <Layers size={p.width ?? 16} {...(p as any)} />+export const ExpandIcon = (p: P) => <Maximize2 size={p.width ?? 16} {...(p as any)} />+export const ContractIcon = (p: P) => <Minimize2 size={p.width ?? 16} {...(p as any)} />+export const FolderOpenIcon = (p: P) => <FolderOpen size={p.width ?? 16} {...(p as any)} />+export const CheckIcon = (p: P) => <Check size={p.width ?? 16} {...(p as any)} />+export const FileIconGlyph = FileIcon++const PdfGlyph = (p: P) => <FileText size={p.width ?? 16} {...(p as any)} />+const ArchiveGlyph = (p: P) => <FileArchive size={p.width ?? 16} {...(p as any)} />+const CodeGlyph = (p: P) => <FileCode size={p.width ?? 16} {...(p as any)} />+const TextGlyph = (p: P) => <FileText size={p.width ?? 16} {...(p as any)} />+const DocGlyph = TextGlyph+const SheetGlyph = (p: P) => <FileSpreadsheet size={p.width ?? 16} {...(p as any)} />+const SlideGlyph = (p: P) => <Presentation size={p.width ?? 16} {...(p as any)} />+const AudioGlyph = (p: P) => <Music size={p.width ?? 16} {...(p as any)} />+const VideoGlyph = (p: P) => <Video size={p.width ?? 16} {...(p as any)} />+const PhotoGlyph = ImageIconconst GLYPHS: Record<string, (p: P) => JSX.Element> = {pdf: PdfGlyph,@@ -250,20 +103,3 @@ export function FileKindIcon({ ext, path, ...rest }: P & { ext?: string; path?:const Glyph = GLYPHS[kind] ?? FileIconGlyphreturn <Glyph {...rest} style={{ color: info?.color ?? 'currentColor', ...(rest.style ?? {}) }} />}--export const ChevronRightIcon = (p: P) => (- <svg- {...base(p)}- width="16"- height="16"- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth="2.2"- strokeLinecap="round"- strokeLinejoin="round"- shapeRendering="geometricPrecision"- >- <polyline points="9 18 15 12 9 6" />- </svg>-)diff --git a/src/store/appStore.ts b/src/store/appStore.tsindex a36f371..42d6c2b 100644--- a/src/store/appStore.ts+++ b/src/store/appStore.ts@@ -49,6 +49,9 @@ interface AppState {open: boolean/** Settings sheet visibility. */settingsOpen: boolean+ /** Active view mode within settings ('main' | 'changelog'). */+ settingsSubView: 'main' | 'changelog'+ setSettingsSubView: (subView: 'main' | 'changelog') => void/** True while an OS file drag is hovering the panel (prevents premature close). */dragActive: boolean/** True if the active drag originated from within the app itself. Stores the drag request (which item/sub-item). */@@ -105,6 +108,8 @@ export const useStore = create<AppState>((set, get) => ({query: '',open: false,settingsOpen: false,+ settingsSubView: 'main',+ setSettingsSubView: (subView) => set({ settingsSubView: subView }),dragActive: false,internalDragReq: null,toasts: [],@@ -189,7 +194,7 @@ export const useStore = create<AppState>((set, get) => ({edge.setPreviewMode(false)}},- setSettingsOpen: (settingsOpen) => set({ settingsOpen }),+ setSettingsOpen: (settingsOpen) => set({ settingsOpen, settingsSubView: 'main' }),setDragActive: (dragActive) => set({ dragActive }),setInternalDragReq: (internalDragReq) => {if (internalDragReq === null) {diff --git a/src/styles/global.css b/src/styles/global.cssindex 389b0e3..ce949ad 100644--- a/src/styles/global.css+++ b/src/styles/global.css@@ -28,15 +28,16 @@ html {}body {- font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui,- sans-serif;+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;font-size: 13px;- line-height: 1.45;+ line-height: 1.48;color: var(--text-primary);background: transparent;overflow: hidden;-webkit-font-smoothing: antialiased;+ -moz-osx-font-smoothing: grayscale;text-rendering: optimizeLegibility;+ font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';user-select: none;-webkit-user-select: none;cursor: default;@@ -52,8 +53,23 @@ svg,canvas,video {image-rendering: -webkit-optimize-contrast;- image-rendering: high-quality;+ image-rendering: crisp-edges;shape-rendering: geometricPrecision;+ text-rendering: optimizeLegibility;+}++svg {+ transform: translateZ(0);+ backface-visibility: hidden;+}++svg path,+svg circle,+svg line,+svg polyline,+svg rect,+svg polygon {+ vector-effect: non-scaling-stroke;}img,diff --git a/src/styles/item.css b/src/styles/item.cssindex eef9ee3..8f80d92 100644--- a/src/styles/item.css+++ b/src/styles/item.css@@ -96,7 +96,7 @@flex-wrap: wrap;gap: 10px;font-size: 11px;- color: rgba(255, 255, 255, 0.4);+ color: rgba(255, 255, 255, 0.72);font-weight: 500;letter-spacing: 0.01em;}@@ -118,8 +118,6 @@cursor: pointer;box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);z-index: 100;- backdrop-filter: blur(12px);- -webkit-backdrop-filter: blur(12px);transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);}@@ -164,7 +162,6 @@.bundle-file-stack-card {background: linear-gradient(135deg, rgba(38, 38, 42, 0.98), rgba(24, 24, 28, 0.98));- backdrop-filter: blur(12px);display: flex;align-items: center;justify-content: center;@@ -207,7 +204,6 @@background: rgba(20, 20, 20, 0.95);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 999px;- backdrop-filter: blur(12px);opacity: 0;pointer-events: none;/* Specific properties — prevents `all` from catching unrelated inherited changes.diff --git a/src/styles/panel.css b/src/styles/panel.cssindex cccaa27..1b0b71a 100644--- a/src/styles/panel.css+++ b/src/styles/panel.css@@ -31,7 +31,6 @@box-shadow: none;overflow: hidden;border: none;- backdrop-filter: blur(20px);}.blade-container.blade-right .blade {border-top-right-radius: 0;@@ -213,35 +212,60 @@margin-top: 4px;}+/* Pinned Section Deck */+.pinned-section {+ background: rgba(255, 255, 255, 0.025);+ border: 1px solid rgba(255, 255, 255, 0.07);+ border-radius: 18px;+ padding: 6px;+ margin: 8px 0 16px;+ transition: all 0.2s ease;+}++.pinned-section .item {+ margin-bottom: 0;+ background: rgba(0, 0, 0, 0.35);+ border: 1px solid rgba(255, 255, 255, 0.08);+}++.pinned-section .item:hover {+ background: rgba(255, 255, 255, 0.06);+ border-color: rgba(255, 255, 255, 0.18);+}+/* Interactive Pinned Section Header */.pinned-header-interactive {display: flex;align-items: center;justify-content: space-between;cursor: pointer;- padding: 4px 6px;- margin: 12px 0px 4px;- border-radius: 6px;+ padding: 6px 10px;+ margin: 0;+ border-radius: 12px;background: transparent;- transition: all 0.15s ease;+ transition: background 0.15s ease;user-select: none;}.pinned-header-interactive:hover {background: rgba(255, 255, 255, 0.05);- color: #f4f4f5;}.pinned-header-left {display: flex;align-items: center;gap: 8px;+ font-size: 11px;+ font-weight: 700;+ letter-spacing: 0.06em;+ text-transform: uppercase;+ color: #ffffff;}.pinned-count-badge {- background: rgba(255, 255, 255, 0.1);- color: rgba(255, 255, 255, 0.85);- font-size: 10px;+ background: transparent;+ color: #ffffff;+ font-size: 11px;font-weight: 700;- padding: 2px 7px;- border-radius: 10px;+ padding: 0;+ border-radius: 0;letter-spacing: 0;border: none;}@@ -251,15 +275,15 @@gap: 6px;}.pinned-toggle-hint {- font-size: 10px;+ font-size: 10.5px;font-weight: 500;- color: #71717a;+ color: rgba(255, 255, 255, 0.6);text-transform: none;letter-spacing: 0;transition: color 0.2s ease;}.pinned-header-interactive:hover .pinned-toggle-hint {- color: #a1a1aa;+ color: #ffffff;}.pinned-header-interactive .bundle-collapse-btn {background: transparent;@@ -270,10 +294,10 @@align-items: center;justify-content: center;pointer-events: none;- color: #a1a1aa;+ color: rgba(255, 255, 255, 0.7);}.pinned-header-interactive:hover .bundle-collapse-btn {- color: #f4f4f5;+ color: #ffffff;}/* Empty state */@@ -389,8 +413,6 @@background: rgba(20, 20, 20, 0.95);border: 1px solid rgba(255, 255, 255, 0.12);box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);- backdrop-filter: blur(16px);- -webkit-backdrop-filter: blur(16px);cursor: pointer;text-align: left;}diff --git a/src/styles/settings.css b/src/styles/settings.cssindex a0b24e8..0c39231 100644--- a/src/styles/settings.css+++ b/src/styles/settings.css@@ -45,8 +45,8 @@.setting-desc {font-size: 12.5px;font-weight: 400;- color: #a1a1aa;- line-height: 1.45;+ color: rgba(255, 255, 255, 0.78);+ line-height: 1.48;}.setting-divider {@@ -61,7 +61,7 @@font-weight: 700;text-transform: uppercase;letter-spacing: 0.08em;- color: #a1a1aa;+ color: rgba(255, 255, 255, 0.88);margin: 12px 4px 4px;user-select: none;}@@ -71,16 +71,18 @@}.setting-badge-subtle {- display: inline-block;- margin-left: 6px;- padding: 1px 6px;- font-size: 10.5px;+ display: inline-flex;+ align-items: center;+ margin-top: 4px;+ padding: 2px 7px;+ font-size: 10px;font-weight: 500;- color: #a1a1aa;- background: rgba(255, 255, 255, 0.06);- border: 1px solid rgba(255, 255, 255, 0.1);- border-radius: 999px;- vertical-align: middle;+ color: rgba(255, 255, 255, 0.55);+ background: rgba(255, 255, 255, 0.04);+ border: 1px solid rgba(255, 255, 255, 0.08);+ border-radius: 4px;+ width: fit-content;+ user-select: none;}/* Minimalist Pill Selector (Replaces Sliders!) */@@ -222,19 +224,21 @@display: flex;flex-direction: column;align-items: center;- gap: 12px;- padding: 16px 12px;- background: rgba(255, 255, 255, 0.03);- border: 1px solid rgba(255, 255, 255, 0.06);- border-radius: 10px;- margin: 16px 4px 6px 4px;+ gap: 14px;+ padding: 18px 16px;+ background: rgba(255, 255, 255, 0.025);+ border: 1px solid rgba(255, 255, 255, 0.08);+ border-radius: 14px;+ margin: 20px 4px 6px 4px;text-align: center;}.github-promo-text {- font-size: 12px;- color: #a1a1aa;- line-height: 1.45;+ font-size: 11.5px;+ color: rgba(255, 255, 255, 0.85);+ line-height: 1.4;+ font-weight: 400;+ max-width: 210px;}.github-promo-btn {@@ -242,13 +246,13 @@align-items: center;justify-content: center;gap: 6px;- padding: 8px 16px;- border-radius: 6px;+ padding: 8px 18px;+ border-radius: 8px;font-size: 12.5px;- font-weight: 500;+ font-weight: 600;color: #ffffff;background: rgba(255, 255, 255, 0.08);- border: 1px solid rgba(255, 255, 255, 0.12);+ border: 1px solid rgba(255, 255, 255, 0.15);cursor: pointer;transition: all 0.2s ease;}@@ -256,18 +260,18 @@.github-promo-btn:hover {background: rgba(255, 255, 255, 0.15);color: #ffffff;- border-color: rgba(255, 255, 255, 0.2);+ border-color: rgba(255, 255, 255, 0.25);}.github-promo-btn .star-icon {color: #fbbf24;- /* yellow star */}.app-version-footer {- font-size: 11px;- color: #ffffff;- margin-top: 4px;+ font-size: 11.5px;+ color: rgba(255, 255, 255, 0.55);+ font-family: 'Consolas', 'Cascadia Code', monospace;+ margin-top: 2px;}/* Visual Copy Indicator Style Cards */diff --git a/src/styles/tokens.css b/src/styles/tokens.cssindex 5f3db3c..b5f3673 100644--- a/src/styles/tokens.css+++ b/src/styles/tokens.css@@ -19,10 +19,10 @@--edge-strong: rgba(255, 255, 255, 0.12);--divider: rgba(255, 255, 255, 0.07);- /* Text */- --text-primary: rgba(255, 255, 255, 0.96);- --text-secondary: rgba(255, 255, 255, 0.62);- --text-tertiary: rgba(255, 255, 255, 0.38);+ /* Text — High Contrast & Ultra-Legible */+ --text-primary: #ffffff;+ --text-secondary: rgba(255, 255, 255, 0.88);+ --text-tertiary: rgba(255, 255, 255, 0.68);/* Accent (overridden at runtime by theme.ts) */--accent: #8b5cf6;