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
feat(icons): switch the UI icon set to vendored Phosphor
Deepender253defb958c5be
diff --git a/package-lock.json b/package-lock.jsonindex ac0ecef..637f869 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,26 +1,23 @@{"name": "edge-drop",- "version": "0.3.2",+ "version": "0.3.3","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "edge-drop",- "version": "0.3.2",+ "version": "0.3.3","license": "Apache-2.0","dependencies": {"@resvg/resvg-js": "^2.6.2","electron-updater": "^6.8.9","koffi": "^3.1.2",- "prism-react-renderer": "^2.4.1","react": "^18.2.0","zustand": "^4.5.2"},"devDependencies": {"@fontsource/jetbrains-mono": "^5.3.0","@fontsource/plus-jakarta-sans": "^5.3.0",- "@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","@types/node": "^20.11.30",@@ -34,7 +31,7 @@"emoji-datasource-twitter": "^16.0.0","framer-motion": "^11.0.24","gsap": "^3.15.0",- "lucide-react": "^1.26.0",+ "prism-react-renderer": "^2.4.1","react-dom": "^18.2.0","svg-path-bbox": "^2.1.0","typescript": "^5.4.3",@@ -703,6 +700,72 @@"node": ">= 10.0.0"}},+ "node_modules/@electron/windows-sign": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/@electron/windows-sign/-/windows-sign-1.2.2.tgz",+ "integrity": "sha512-dfZeox66AvdPtb2lD8OsIIQh12Tp0GNCRUDfBHIKGpbmopZto2/A8nSpYYLoedPIHpqkeblZ/k8OV0Gy7PYuyQ==",+ "dev": true,+ "license": "BSD-2-Clause",+ "optional": true,+ "peer": true,+ "dependencies": {+ "cross-dirname": "^0.1.0",+ "debug": "^4.3.4",+ "fs-extra": "^11.1.1",+ "minimist": "^1.2.8",+ "postject": "^1.0.0-alpha.6"+ },+ "bin": {+ "electron-windows-sign": "bin/electron-windows-sign.js"+ },+ "engines": {+ "node": ">=14.14"+ }+ },+ "node_modules/@electron/windows-sign/node_modules/fs-extra": {+ "version": "11.4.1",+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.4.1.tgz",+ "integrity": "sha512-KYAb4c9BJQI6QqGKthV68OHe0badztdXJWKo0WtBA9IuCFPTKvE5ZdUBglP833aMjhaSPNO4A5j/EkzZtGlKjA==",+ "dev": true,+ "license": "MIT",+ "optional": true,+ "peer": true,+ "dependencies": {+ "graceful-fs": "^4.2.0",+ "jsonfile": "^6.0.1",+ "universalify": "^2.0.0"+ },+ "engines": {+ "node": ">=14.14"+ }+ },+ "node_modules/@electron/windows-sign/node_modules/jsonfile": {+ "version": "6.2.1",+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.1.tgz",+ "integrity": "sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q==",+ "dev": true,+ "license": "MIT",+ "optional": true,+ "peer": true,+ "dependencies": {+ "universalify": "^2.0.0"+ },+ "optionalDependencies": {+ "graceful-fs": "^4.1.6"+ }+ },+ "node_modules/@electron/windows-sign/node_modules/universalify": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",+ "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",+ "dev": true,+ "license": "MIT",+ "optional": true,+ "peer": true,+ "engines": {+ "node": ">= 10.0.0"+ }+ },"node_modules/@emnapi/core": {"version": "1.11.1","resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.11.1.tgz",@@ -1148,39 +1211,6 @@"url": "https://github.com/sponsors/ayuhito"}},- "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==",- "dev": true,- "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==",- "dev": true,- "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==",- "dev": true,- "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",@@ -2894,6 +2924,7 @@"version": "1.26.6","resolved": "https://registry.npmjs.org/@types/prismjs/-/prismjs-1.26.6.tgz","integrity": "sha512-vqlvI7qlMvcCBbVe0AKAb4f97//Hy0EBTaiW8AalRnG/xAN5zOiWWyrNqNXeq8+KAuvRewjCVY1+IPxk4RdNYw==",+ "dev": true,"license": "MIT"},"node_modules/@types/prop-types": {@@ -3760,6 +3791,7 @@"version": "2.1.1","resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz","integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",+ "dev": true,"license": "MIT","engines": {"node": ">=6"@@ -3839,6 +3871,15 @@"dev": true,"license": "MIT"},+ "node_modules/cross-dirname": {+ "version": "0.1.0",+ "resolved": "https://registry.npmjs.org/cross-dirname/-/cross-dirname-0.1.0.tgz",+ "integrity": "sha512-+R08/oI0nl3vfPcqftZRpytksBXDzOUveBq/NBVx0sUp1axwzPQrKinNx5yd5sxPu8j1wIy8AfnVQ+5eFdha6Q==",+ "dev": true,+ "license": "MIT",+ "optional": true,+ "peer": true+ },"node_modules/cross-spawn": {"version": "7.0.6","resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",@@ -5798,16 +5839,6 @@"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==",- "dev": true,- "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",@@ -6378,10 +6409,41 @@"node": "^10 || ^12 || >=14"}},+ "node_modules/postject": {+ "version": "1.0.0-alpha.6",+ "resolved": "https://registry.npmjs.org/postject/-/postject-1.0.0-alpha.6.tgz",+ "integrity": "sha512-b9Eb8h2eVqNE8edvKdwqkrY6O7kAwmI8kcnBv1NScolYJbo59XUF0noFq+lxbC1yN20bmC0WBEbDC5H/7ASb0A==",+ "dev": true,+ "license": "MIT",+ "optional": true,+ "peer": true,+ "dependencies": {+ "commander": "^9.4.0"+ },+ "bin": {+ "postject": "dist/cli.js"+ },+ "engines": {+ "node": ">=14.0.0"+ }+ },+ "node_modules/postject/node_modules/commander": {+ "version": "9.5.0",+ "resolved": "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz",+ "integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==",+ "dev": true,+ "license": "MIT",+ "optional": true,+ "peer": true,+ "engines": {+ "node": "^12.20.0 || >=14"+ }+ },"node_modules/prism-react-renderer": {"version": "2.4.1","resolved": "https://registry.npmjs.org/prism-react-renderer/-/prism-react-renderer-2.4.1.tgz","integrity": "sha512-ey8Ls/+Di31eqzUxC46h8MksNuGx/n0AAC8uKpwFau4RPDYLuE3EXTp8N8G2vX2N7UC/+IXeNUnlWBGGcAG+Ig==",+ "dev": true,"license": "MIT","dependencies": {"@types/prismjs": "^1.26.0",diff --git a/package.json b/package.jsonindex 97f8645..e459879 100644--- a/package.json+++ b/package.json@@ -37,12 +37,9 @@"!resources/appx/**","package.json","!**/node_modules/emoji-datasource-twitter/**",- "!**/node_modules/lucide-react/**","!**/node_modules/gsap/**","!**/node_modules/framer-motion/**","!**/node_modules/@fontsource/**",- "!**/node_modules/@iconify-json/**",- "!**/node_modules/@iconify/react/**","!**/node_modules/@radix-ui/**","!**/node_modules/svg-path-bbox/**","!**/node_modules/react-dom/**",@@ -112,8 +109,6 @@"devDependencies": {"@fontsource/jetbrains-mono": "^5.3.0","@fontsource/plus-jakarta-sans": "^5.3.0",- "@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","@types/node": "^20.11.30",@@ -127,7 +122,6 @@"emoji-datasource-twitter": "^16.0.0","framer-motion": "^11.0.24","gsap": "^3.15.0",- "lucide-react": "^1.26.0","prism-react-renderer": "^2.4.1","react-dom": "^18.2.0","svg-path-bbox": "^2.1.0",@@ -142,4 +136,4 @@"react": "^18.2.0","zustand": "^4.5.2"}-}\ No newline at end of file+}diff --git a/src/components/Settings.tsx b/src/components/Settings.tsxindex ffcfb5c..f8cb8ef 100644--- a/src/components/Settings.tsx+++ b/src/components/Settings.tsx@@ -430,7 +430,7 @@ export function Settings({><GithubOctocatLogo width={14} height={14} className="github-octocat-icon" /><span>{t('footer.starOnGithub')}</span>- <StarIcon width={13} height={13} className="star-icon" fill="#fbbf24" stroke="#fbbf24" style={{ marginLeft: 2 }} />+ <StarIcon width={13} height={13} className="star-icon" weight="fill" fill="#fbbf24" style={{ marginLeft: 2 }} /></button>)}</div>@@ -928,7 +928,7 @@ export function Settings({><GithubOctocatLogo width={13} height={13} className="github-octocat-icon" /><span>{t('footer.starOnGithub')}</span>- <StarIcon width={12} height={12} className="star-icon" fill="#fbbf24" stroke="#fbbf24" style={{ marginLeft: 2 }} />+ <StarIcon width={12} height={12} className="star-icon" weight="fill" fill="#fbbf24" style={{ marginLeft: 2 }} /></button>)}</div>diff --git a/src/components/icons.tsx b/src/components/icons.tsxindex c6b1ec9..60b2de3 100644--- a/src/components/icons.tsx+++ b/src/components/icons.tsx@@ -1,66 +1,58 @@/**- * UI icons. Lucide strokes at 16px with width 2.2 rasterize into boxes on- * the software compositor — keep a hairline weight and let size scale the- * path, not the stroke.+ * UI icons: Phosphor (https://phosphoricons.com, MIT), one family for the+ * whole app. Paths are vendored in phosphorPaths.ts (Bold weight, plus Fill+ * for "on" states) so only what the app draws is shipped.+ *+ * Line weight: Phosphor Bold draws its lines 24/256 of the icon wide, which+ * is only ~1.1px at the 11-12px the action pills use and read as thin and+ * small next to the old Lucide set. So each outline gets a matching stroke+ * that brings the line to exactly what Lucide drew: 1.55px up to 14px, 1.7px+ * above (computed from the icon's size prop, as Lucide's absolute stroke+ * was). Filled "on" icons (weight="fill": pin, star) are left as drawn.+ *+ * Size: Phosphor leaves more empty margin inside its grid than Lucide did,+ * so glyphs looked a little small. The view box trims 10 units from each+ * side (glyphs ~8.5% larger in the same box); overflow stays visible so the+ * few icons that reach the grid edge (coffee, users) are never clipped.*/-import type { LucideIcon } from 'lucide-react'import type { SVGProps } from 'react'-import {- Info,- Sparkles,- ChevronLeft,- ChevronRight,- ChevronUp,- ChevronDown,- ExternalLink,- Search,- Pin,- Trash2,- Copy,- Settings as SettingsGear,- GripVertical,- Image as ImageGraphic,- Link,- X,- Minus,- ArrowDownToLine,- Layers,- Maximize2,- Minimize2,- FolderOpen,- Check,- LogOut,- Coffee,- Heart,- Star,- RotateCcw,- Clipboard,- Type,- Files,- Globe,- Smile,- Users,- PawPrint,- Utensils,- Trophy,- Lightbulb,- Shapes,- Flag,- Palette-} from 'lucide-react'+import { PHOSPHOR_BOLD, PHOSPHOR_FILL, type PhosphorName } from './phosphorPaths'-type P = SVGProps<SVGSVGElement>+type P = SVGProps<SVGSVGElement> & { weight?: 'bold' | 'fill' }-function uiIcon(Icon: LucideIcon, fallback = 16) {+/** Line thickness in px the icon should read at (matches the old Lucide set). */+const linePx = (size: number) => (size <= 14 ? 1.55 : 1.7)+/** Phosphor Bold's own line width on its 256 grid. */+const BOLD_LINE = 24+/** Margin trimmed from each side of the 256 grid, and the resulting view box. */+const TRIM = 10+const VIEW = 256 - TRIM * 2++function uiIcon(name: PhosphorName, fallback = 16) {return (p: P) => {const size = Number(p.width ?? p.height ?? fallback)+ const { weight, ...rest } = p+ const fillPath = weight === 'fill' ? (PHOSPHOR_FILL as Record<string, string>)[name] : undefined+ // Extra outline (in grid units) so Bold's 24-unit line becomes linePx on screen.+ const extra = fillPath ? 0 : Math.max(0, (linePx(size) * VIEW) / size - BOLD_LINE)+ const color = (rest as { fill?: string }).fill ?? 'currentColor'return (- <Icon- size={size}- strokeWidth={size <= 14 ? 1.55 : 1.7}- absoluteStrokeWidth- {...(p as any)}- />+ <svg+ xmlns="http://www.w3.org/2000/svg"+ viewBox={`${TRIM} ${TRIM} ${VIEW} ${VIEW}`}+ width={size}+ height={size}+ fill="currentColor"+ overflow="visible"+ aria-hidden="true"+ focusable="false"+ {...(rest as any)}+ >+ <path+ d={fillPath ?? PHOSPHOR_BOLD[name]}+ {...(extra > 0 ? { stroke: color, strokeWidth: +extra.toFixed(2), strokeLinejoin: 'round' as const } : {})}+ />+ </svg>)}}@@ -89,72 +81,55 @@ export const MicrosoftStoreLogo = (p: P) => {)}-export const RotateCcwIcon = uiIcon(RotateCcw)-export const CoffeeIcon = uiIcon(Coffee)-export const HeartIcon = uiIcon(Heart)-export const StarIcon = uiIcon(Star)-export const GlobeIcon = uiIcon(Globe)-export const LogOutIcon = uiIcon(LogOut)-export const InfoIcon = uiIcon(Info)-export const SparklesIcon = uiIcon(Sparkles)+export const RotateCcwIcon = uiIcon('arrowCounterClockwise')+export const CoffeeIcon = uiIcon('coffee')+export const HeartIcon = uiIcon('heart')+export const StarIcon = uiIcon('star')+export const GlobeIcon = uiIcon('globe')+export const LogOutIcon = uiIcon('signOut')+export const InfoIcon = uiIcon('info')+export const SparklesIcon = uiIcon('sparkle')export const WhatsNewIcon = InfoIcon-export const ChevronLeftIcon = uiIcon(ChevronLeft)-export const ChevronRightIcon = uiIcon(ChevronRight)-export const ChevronUpIcon = uiIcon(ChevronUp)-export const ChevronDownIcon = uiIcon(ChevronDown)-export const ExternalLinkIcon = uiIcon(ExternalLink)-export const SearchIcon = uiIcon(Search)-export const PinIcon = uiIcon(Pin)-export const PinFillIcon = (p: P) => {- const size = Number(p.width ?? p.height ?? 16)- return <Pin size={size} strokeWidth={size <= 14 ? 1.55 : 1.7} absoluteStrokeWidth fill="currentColor" {...(p as any)} />-}-export const TrashIcon = uiIcon(Trash2)-export const CopyIcon = uiIcon(Copy)-export const GearIcon = uiIcon(SettingsGear)-export const GripIcon = uiIcon(GripVertical)-export const ImageIcon = uiIcon(ImageGraphic)-export const LinkIcon = uiIcon(Link)-export const CloseIcon = uiIcon(X)-export const MinusIcon = uiIcon(Minus)-export const DropIcon = uiIcon(ArrowDownToLine)-export const BundleIcon = uiIcon(Layers)-export const ExpandIcon = uiIcon(Maximize2)-export const ContractIcon = uiIcon(Minimize2)-export const FolderOpenIcon = uiIcon(FolderOpen)-export const CheckIcon = uiIcon(Check)-export const ClipboardIcon = uiIcon(Clipboard)-export const ClockIcon = (p: P) => {- const size = Number(p.width ?? p.height ?? 16)- return (- <svg- viewBox="15.3 18 64 64"- width={size}- height={size}- fill="currentColor"- {...(p as any)}- >- <path d="M28.1,48C28,48.7,28,49.3,28,50h-6c0-0.7,0-1.3,0.1-2H28.1z" />- <path d="M51.5,36h-3c-0.8,0-1.5,0.7-1.5,1.5v13.1c0,0.4,0.2,0.8,0.4,1.1l8.4,8.4c0.6,0.6,1.5,0.6,2.1,0l2.1-2.1c0.6-0.6,0.6-1.5,0-2.1L53,48.8V37.5C53,36.7,52.3,36,51.5,36z" />- <path d="M50,22c-14.8,0-26.9,11.5-27.9,26c0,0.3-0.1,0.7-0.1,1h-4.5c-1.3,0-2,1.5-1.2,2.4l7.5,9.1c0.6,0.7,1.7,0.7,2.3,0l7.5-9.1c0.8-1,0.1-2.4-1.2-2.4H28c0-0.3,0-0.7,0-1c1-11.2,10.5-20,21.9-20c13,0,23.3,11.3,21.9,24.5C70.8,62,61.8,71,52.2,71.9c-7.1,0.7-13.8-1.9-18.5-7c-0.6-0.7-1.4-1.1-2.2-0.1l-2.4,2.9c-0.5,0.6-0.1,1,0.4,1.5c5.4,5.7,12.8,8.9,20.8,8.8c14.4-0.2,26.5-11.6,27.5-26C79.1,35.7,66.1,22,50,22z" />- </svg>- )-}+export const ChevronLeftIcon = uiIcon('caretLeft')+export const ChevronRightIcon = uiIcon('caretRight')+export const ChevronUpIcon = uiIcon('caretUp')+export const ChevronDownIcon = uiIcon('caretDown')+export const ExternalLinkIcon = uiIcon('arrowSquareOut')+export const SearchIcon = uiIcon('magnifyingGlass')+export const PinIcon = uiIcon('pushPin')+const PinBase = uiIcon('pushPin')+export const PinFillIcon = (p: P) => <PinBase {...p} weight="fill" />+export const TrashIcon = uiIcon('trash')+export const CopyIcon = uiIcon('copy')+export const GearIcon = uiIcon('gearSix')+export const GripIcon = uiIcon('dotsSixVertical')+export const ImageIcon = uiIcon('image')+export const LinkIcon = uiIcon('link')+export const CloseIcon = uiIcon('x')+export const MinusIcon = uiIcon('minus')+export const DropIcon = uiIcon('arrowLineDown')+export const BundleIcon = uiIcon('stack')+export const ExpandIcon = uiIcon('arrowsOutSimple')+export const ContractIcon = uiIcon('arrowsInSimple')+export const FolderOpenIcon = uiIcon('folderOpen')+export const CheckIcon = uiIcon('check')+export const ClipboardIcon = uiIcon('clipboard')+export const ClockIcon = uiIcon('clockCounterClockwise')export const RecentIcon = ClockIcon-export const TypeIcon = uiIcon(Type)-export const FilesIcon = uiIcon(Files)-export const PaletteIcon = uiIcon(Palette)+export const TypeIcon = uiIcon('textT')+export const FilesIcon = uiIcon('files')+export const PaletteIcon = uiIcon('palette')-export const EmojiSmileIcon = uiIcon(Smile, 18)+export const EmojiSmileIcon = uiIcon('smiley', 18)export const EmojiClockIcon = (p: P) => <ClockIcon width={p.width ?? 18} height={p.height ?? 18} {...(p as any)} />-export const EmojiUserIcon = uiIcon(Users, 18)-export const EmojiPawIcon = uiIcon(PawPrint, 18)-export const EmojiFoodIcon = uiIcon(Utensils, 18)-export const EmojiPlaneIcon = uiIcon(Globe, 18)-export const EmojiTrophyIcon = uiIcon(Trophy, 18)-export const EmojiBulbIcon = uiIcon(Lightbulb, 18)-export const EmojiShapesIcon = uiIcon(Shapes, 18)-export const EmojiFlagIcon = uiIcon(Flag, 18)+export const EmojiUserIcon = uiIcon('users', 18)+export const EmojiPawIcon = uiIcon('pawPrint', 18)+export const EmojiFoodIcon = uiIcon('forkKnife', 18)+export const EmojiPlaneIcon = uiIcon('globe', 18)+export const EmojiTrophyIcon = uiIcon('trophy', 18)+export const EmojiBulbIcon = uiIcon('lightbulb', 18)+export const EmojiShapesIcon = uiIcon('shapes', 18)+export const EmojiFlagIcon = uiIcon('flag', 18)import { CustomFileIcon, FileStackPhoto } from './CustomFileIcon'export { CustomFileIcon, CustomFileIcon as FileKindIcon, FileStackPhoto }diff --git a/src/components/phosphorPaths.ts b/src/components/phosphorPaths.tsnew file mode 100644index 0000000..8a34300--- /dev/null+++ b/src/components/phosphorPaths.ts@@ -0,0 +1,82 @@+/**+ * Phosphor icon paths (https://phosphoricons.com), vendored so the app ships+ * only what it draws: the Bold weight of each icon it uses (every UI icon is+ * drawn at 16px or smaller, where Bold gives ~1.3px lines) plus Fill for the+ * two "on" states (pinned pin, rating star). All are single paths on a+ * 256 x 256 grid. Generated from @phosphor-icons/core 2.1.1; to add an+ * icon, copy its Bold path from the same source.+ *+ * MIT License+ *+ * Copyright (c) 2023 Phosphor Icons+ *+ * Permission is hereby granted, free of charge, to any person obtaining a copy+ * of this software and associated documentation files (the "Software"), to deal+ * in the Software without restriction, including without limitation the rights+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+ * copies of the Software, and to permit persons to whom the Software is+ * furnished to do so, subject to the following conditions:+ *+ * The above copyright notice and this permission notice shall be included in all+ * copies or substantial portions of the Software.+ *+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+ * SOFTWARE.+ */++export const PHOSPHOR_BOLD = {+ arrowCounterClockwise: 'M228,128a100,100,0,0,1-98.66,100H128a99.39,99.39,0,0,1-68.62-27.29,12,12,0,0,1,16.48-17.45,76,76,0,1,0-1.57-109c-.13.13-.25.25-.39.37L54.89,92H72a12,12,0,0,1,0,24H24a12,12,0,0,1-12-12V56a12,12,0,0,1,24,0V76.72L57.48,57.06A100,100,0,0,1,228,128Z',+ arrowLineDown: 'M47.51,112.49a12,12,0,0,1,17-17L116,147V32a12,12,0,0,1,24,0V147l51.51-51.52a12,12,0,0,1,17,17l-72,72a12,12,0,0,1-17,0ZM216,204H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Z',+ arrowSquareOut: 'M228,104a12,12,0,0,1-24,0V69l-59.51,59.51a12,12,0,0,1-17-17L187,52H152a12,12,0,0,1,0-24h64a12,12,0,0,1,12,12Zm-44,24a12,12,0,0,0-12,12v64H52V84h64a12,12,0,0,0,0-24H48A20,20,0,0,0,28,80V208a20,20,0,0,0,20,20H176a20,20,0,0,0,20-20V140A12,12,0,0,0,184,128Z',+ arrowsInSimple: 'M216.49,56.48,177,96h19a12,12,0,0,1,0,24H148a12,12,0,0,1-12-12V60a12,12,0,0,1,24,0V79l39.51-39.52a12,12,0,0,1,17,17ZM108,136H60a12,12,0,0,0,0,24H79L39.51,199.51a12,12,0,0,0,17,17L96,177v19a12,12,0,0,0,24,0V148A12,12,0,0,0,108,136Z',+ arrowsOutSimple: 'M220,48V96a12,12,0,0,1-24,0V77l-39.51,39.52a12,12,0,0,1-17-17L179,60H160a12,12,0,0,1,0-24h48A12,12,0,0,1,220,48ZM99.51,139.51,60,179V160a12,12,0,0,0-24,0v48a12,12,0,0,0,12,12H96a12,12,0,0,0,0-24H77l39.52-39.51a12,12,0,0,0-17-17Z',+ caretDown: 'M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z',+ caretLeft: 'M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z',+ caretRight: 'M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z',+ caretUp: 'M216.49,168.49a12,12,0,0,1-17,0L128,97,56.49,168.49a12,12,0,0,1-17-17l80-80a12,12,0,0,1,17,0l80,80A12,12,0,0,1,216.49,168.49Z',+ check: 'M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z',+ clipboard: 'M200,28H165.47a51.88,51.88,0,0,0-74.94,0H56A20,20,0,0,0,36,48V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V48A20,20,0,0,0,200,28ZM155.71,60H100.29a28,28,0,0,1,55.42,0ZM196,212H60V52H77.41A52.13,52.13,0,0,0,76,64v8A12,12,0,0,0,88,84h80a12,12,0,0,0,12-12V64a52.13,52.13,0,0,0-1.41-12H196Z',+ clockCounterClockwise: 'M140,80v41.21l34.17,20.5a12,12,0,1,1-12.34,20.58l-40-24A12,12,0,0,1,116,128V80a12,12,0,0,1,24,0ZM128,28A99.38,99.38,0,0,0,57.24,57.34c-4.69,4.74-9,9.37-13.24,14V64a12,12,0,0,0-24,0v40a12,12,0,0,0,12,12H72a12,12,0,0,0,0-24H57.77C63,86,68.37,80.22,74.26,74.26a76,76,0,1,1,1.58,109,12,12,0,0,0-16.48,17.46A100,100,0,1,0,128,28Z',+ coffee: 'M212,76H32A12,12,0,0,0,20,88v48a100.24,100.24,0,0,0,26.73,68H32a12,12,0,0,0,0,24H208a12,12,0,0,0,0-24H193.27a100.75,100.75,0,0,0,20-32A44,44,0,0,0,256,128v-8A44.05,44.05,0,0,0,212,76Zm-16,60a76.27,76.27,0,0,1-42,68H86a76.27,76.27,0,0,1-42-68V100H196Zm36-8a20,20,0,0,1-12.57,18.55A97.17,97.17,0,0,0,220,136V101.68A20,20,0,0,1,232,120ZM68,48V24a12,12,0,0,1,24,0V48a12,12,0,0,1-24,0Zm40,0V24a12,12,0,0,1,24,0V48a12,12,0,0,1-24,0Zm40,0V24a12,12,0,0,1,24,0V48a12,12,0,0,1-24,0Z',+ copy: 'M216,28H88A12,12,0,0,0,76,40V76H40A12,12,0,0,0,28,88V216a12,12,0,0,0,12,12H168a12,12,0,0,0,12-12V180h36a12,12,0,0,0,12-12V40A12,12,0,0,0,216,28ZM156,204H52V100H156Zm48-48H180V88a12,12,0,0,0-12-12H100V52H204Z',+ dotsSixVertical: 'M108,60A16,16,0,1,1,92,44,16,16,0,0,1,108,60Zm56,16a16,16,0,1,0-16-16A16,16,0,0,0,164,76ZM92,112a16,16,0,1,0,16,16A16,16,0,0,0,92,112Zm72,0a16,16,0,1,0,16,16A16,16,0,0,0,164,112ZM92,180a16,16,0,1,0,16,16A16,16,0,0,0,92,180Zm72,0a16,16,0,1,0,16,16A16,16,0,0,0,164,180Z',+ files: 'M220.49,59.51l-40-40A12,12,0,0,0,172,16H92A20,20,0,0,0,72,36V56H56A20,20,0,0,0,36,76V216a20,20,0,0,0,20,20H164a20,20,0,0,0,20-20V196h20a20,20,0,0,0,20-20V68A12,12,0,0,0,220.49,59.51ZM160,212H60V80h67l33,33Zm40-40H184V108a12,12,0,0,0-3.51-8.49l-40-40A12,12,0,0,0,132,56H96V40h71l33,33Zm-56-28a12,12,0,0,1-12,12H88a12,12,0,0,1,0-24h44A12,12,0,0,1,144,144Zm0,40a12,12,0,0,1-12,12H88a12,12,0,0,1,0-24h44A12,12,0,0,1,144,184Z',+ flag: 'M40.14,46.88A12,12,0,0,0,36,56V224a12,12,0,0,0,24,0V181.72c22.84-17.12,42.1-9.12,70.68,5,16.23,8,34.74,17.2,54.8,17.2,14.72,0,30.28-4.94,46.38-18.88A12,12,0,0,0,236,176V56a12,12,0,0,0-19.86-9.07c-24.71,21.41-44.53,13.31-74.82-1.68C113.19,31.27,78.17,13.94,40.14,46.88ZM212,170.26c-22.84,17.13-42.1,9.11-70.68-5C118.16,153.76,90.33,140,60,153.87V61.69c22.84-17.12,42.1-9.12,70.68,5,16.23,8,34.74,17.2,54.8,17.2A63,63,0,0,0,212,78.08Z',+ folderOpen: 'M248.23,112.31A20,20,0,0,0,232,104H220V88a20,20,0,0,0-20-20H132L105.34,48a20.12,20.12,0,0,0-12-4H40A20,20,0,0,0,20,64V208a12,12,0,0,0,12,12H211.1a12,12,0,0,0,11.33-8l28.49-81.47.06-.17A20,20,0,0,0,248.23,112.31ZM92,68l28.8,21.6A12,12,0,0,0,128,92h68v12H69.77a20,20,0,0,0-18.94,13.58L44,137.15V68ZM202.59,196H48.89l23.72-68H226.37Z',+ forkKnife: 'M68,88V40a12,12,0,0,1,24,0V88a12,12,0,0,1-24,0ZM220,40V224a12,12,0,0,1-24,0V180H152a12,12,0,0,1-12-12,273.23,273.23,0,0,1,7.33-57.82C157.42,68.42,176.76,40.33,203.27,29A12,12,0,0,1,220,40ZM196,62.92C182.6,77,175,98,170.77,115.38A254.41,254.41,0,0,0,164.55,156H196ZM128,39A12,12,0,0,0,104,41l4,47.46a28,28,0,0,1-56,0L56,41A12,12,0,1,0,32,39L28,87c0,.34,0,.67,0,1a52.1,52.1,0,0,0,40,50.59V224a12,12,0,0,0,24,0V138.59A52.1,52.1,0,0,0,132,88c0-.33,0-.66,0-1Z',+ gearSix: 'M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm113.86-49.57A12,12,0,0,0,236,98.34L208.21,82.49l-.11-31.31a12,12,0,0,0-4.25-9.12,116,116,0,0,0-38-21.41,12,12,0,0,0-9.68.89L128,37.27,99.83,21.53a12,12,0,0,0-9.7-.9,116.06,116.06,0,0,0-38,21.47,12,12,0,0,0-4.24,9.1l-.14,31.34L20,98.35a12,12,0,0,0-5.85,8.11,110.7,110.7,0,0,0,0,43.11A12,12,0,0,0,20,157.66l27.82,15.85.11,31.31a12,12,0,0,0,4.25,9.12,116,116,0,0,0,38,21.41,12,12,0,0,0,9.68-.89L128,218.73l28.14,15.74a12,12,0,0,0,9.7.9,116.06,116.06,0,0,0,38-21.47,12,12,0,0,0,4.24-9.1l.14-31.34,27.81-15.81a12,12,0,0,0,5.85-8.11A110.7,110.7,0,0,0,241.86,106.43Zm-22.63,33.18-26.88,15.28a11.94,11.94,0,0,0-4.55,4.59c-.54,1-1.11,1.93-1.7,2.88a12,12,0,0,0-1.83,6.31L184.13,199a91.83,91.83,0,0,1-21.07,11.87l-27.15-15.19a12,12,0,0,0-5.86-1.53h-.29c-1.14,0-2.3,0-3.44,0a12.08,12.08,0,0,0-6.14,1.51L93,210.82A92.27,92.27,0,0,1,71.88,199l-.11-30.24a12,12,0,0,0-1.83-6.32c-.58-.94-1.16-1.91-1.7-2.88A11.92,11.92,0,0,0,63.7,155L36.8,139.63a86.53,86.53,0,0,1,0-23.24l26.88-15.28a12,12,0,0,0,4.55-4.58c.54-1,1.11-1.94,1.7-2.89a12,12,0,0,0,1.83-6.31L71.87,57A91.83,91.83,0,0,1,92.94,45.17l27.15,15.19a11.92,11.92,0,0,0,6.15,1.52c1.14,0,2.3,0,3.44,0a12.08,12.08,0,0,0,6.14-1.51L163,45.18A92.27,92.27,0,0,1,184.12,57l.11,30.24a12,12,0,0,0,1.83,6.32c.58.94,1.16,1.91,1.7,2.88A11.92,11.92,0,0,0,192.3,101l26.9,15.33A86.53,86.53,0,0,1,219.23,139.61Z',+ globe: 'M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,187a113.4,113.4,0,0,1-20.39-35h40.82a116.94,116.94,0,0,1-10,20.77A108.61,108.61,0,0,1,128,207Zm-26.49-59a135.42,135.42,0,0,1,0-40h53a135.42,135.42,0,0,1,0,40ZM44,128a83.49,83.49,0,0,1,2.43-20H77.25a160.63,160.63,0,0,0,0,40H46.43A83.49,83.49,0,0,1,44,128Zm84-79a113.4,113.4,0,0,1,20.39,35H107.59a116.94,116.94,0,0,1,10-20.77A108.61,108.61,0,0,1,128,49Zm50.73,59h30.82a83.52,83.52,0,0,1,0,40H178.75a160.63,160.63,0,0,0,0-40Zm20.77-24H173.71a140.82,140.82,0,0,0-15.5-34.36A84.51,84.51,0,0,1,199.52,84ZM97.79,49.64A140.82,140.82,0,0,0,82.29,84H56.48A84.51,84.51,0,0,1,97.79,49.64ZM56.48,172H82.29a140.82,140.82,0,0,0,15.5,34.36A84.51,84.51,0,0,1,56.48,172Zm101.73,34.36A140.82,140.82,0,0,0,173.71,172h25.81A84.51,84.51,0,0,1,158.21,206.36Z',+ heart: 'M178,36c-20.09,0-37.92,7.93-50,21.56C115.92,43.93,98.09,36,78,36a66.08,66.08,0,0,0-66,66c0,72.34,105.81,130.14,110.31,132.57a12,12,0,0,0,11.38,0C138.19,232.14,244,174.34,244,102A66.08,66.08,0,0,0,178,36Zm-5.49,142.36A328.69,328.69,0,0,1,128,210.16a328.69,328.69,0,0,1-44.51-31.8C61.82,159.77,36,131.42,36,102A42,42,0,0,1,78,60c17.8,0,32.7,9.4,38.89,24.54a12,12,0,0,0,22.22,0C145.3,69.4,160.2,60,178,60a42,42,0,0,1,42,42C220,131.42,194.18,159.77,172.51,178.36Z',+ image: 'M144,96a16,16,0,1,1,16,16A16,16,0,0,1,144,96Zm92-40V200a20,20,0,0,1-20,20H40a20,20,0,0,1-20-20V56A20,20,0,0,1,40,36H216A20,20,0,0,1,236,56ZM44,60v79.72l33.86-33.86a20,20,0,0,1,28.28,0L147.31,147l17.18-17.17a20,20,0,0,1,28.28,0L212,149.09V60Zm0,136H162.34L92,125.66l-48,48Zm168,0V183l-33.37-33.37L164.28,164l32,32Z',+ info: 'M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z',+ lightbulb: 'M180,232a12,12,0,0,1-12,12H88a12,12,0,0,1,0-24h80A12,12,0,0,1,180,232Zm40-128a91.51,91.51,0,0,1-35.17,72.35A12.26,12.26,0,0,0,180,186v2a20,20,0,0,1-20,20H96a20,20,0,0,1-20-20v-2a12,12,0,0,0-4.7-9.51A91.57,91.57,0,0,1,36,104.52C35.73,54.69,76,13.2,125.79,12A92,92,0,0,1,220,104Zm-24,0a68,68,0,0,0-69.65-68C89.56,36.88,59.8,67.55,60,104.38a67.71,67.71,0,0,0,26.1,53.19A35.87,35.87,0,0,1,100,184h56.1A36.13,36.13,0,0,1,170,157.49,67.68,67.68,0,0,0,196,104Zm-20.07-5.32a48.5,48.5,0,0,0-31.91-40,12,12,0,0,0-8,22.62,24.31,24.31,0,0,1,16.09,20,12,12,0,0,0,23.86-2.64Z',+ link: 'M117.18,188.74a12,12,0,0,1,0,17l-5.12,5.12A58.26,58.26,0,0,1,70.6,228h0A58.62,58.62,0,0,1,29.14,127.92L63.89,93.17a58.64,58.64,0,0,1,98.56,28.11,12,12,0,1,1-23.37,5.44,34.65,34.65,0,0,0-58.22-16.58L46.11,144.89A34.62,34.62,0,0,0,70.57,204h0a34.41,34.41,0,0,0,24.49-10.14l5.11-5.12A12,12,0,0,1,117.18,188.74ZM226.83,45.17a58.65,58.65,0,0,0-82.93,0l-5.11,5.11a12,12,0,0,0,17,17l5.12-5.12a34.63,34.63,0,1,1,49,49L175.1,145.86A34.39,34.39,0,0,1,150.61,156h0a34.63,34.63,0,0,1-33.69-26.72,12,12,0,0,0-23.38,5.44A58.64,58.64,0,0,0,150.56,180h.05a58.28,58.28,0,0,0,41.47-17.17l34.75-34.75a58.62,58.62,0,0,0,0-82.91Z',+ magnifyingGlass: 'M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z',+ minus: 'M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128Z',+ palette: 'M203.57,51A107.9,107.9,0,0,0,20,128c0,44.72,27.6,82.25,72,97.94A36,36,0,0,0,140,192a12,12,0,0,1,12-12h46.21a35.79,35.79,0,0,0,35.1-28A108.6,108.6,0,0,0,236,127.09,107.23,107.23,0,0,0,203.57,51Zm6.34,95.67a11.91,11.91,0,0,1-11.7,9.3H152a36,36,0,0,0-36,36,12,12,0,0,1-16,11.3c-16.65-5.88-30.65-15.76-40.48-28.56A76,76,0,0,1,44,128a84,84,0,0,1,83.13-84H128a84.35,84.35,0,0,1,84,83.29A84.72,84.72,0,0,1,209.91,146.71ZM144,76a16,16,0,1,1-16-16A16,16,0,0,1,144,76Zm-44,24A16,16,0,1,1,84,84,16,16,0,0,1,100,100Zm0,56a16,16,0,1,1-16-16A16,16,0,0,1,100,156Zm88-56a16,16,0,1,1-16-16A16,16,0,0,1,188,100Z',+ pawPrint: 'M236,108a24,24,0,1,1-24-24A24,24,0,0,1,236,108ZM68,108a24,24,0,1,0-24,24A24,24,0,0,0,68,108ZM92,84A24,24,0,1,0,68,60,24,24,0,0,0,92,84Zm72,0a24,24,0,1,0-24-24A24,24,0,0,0,164,84Zm48,100a44,44,0,0,1-61.1,40.55,60.15,60.15,0,0,0-45.8,0A44,44,0,0,1,67,145.34,31.33,31.33,0,0,0,81.91,126.6a48,48,0,0,1,92.18,0A31.34,31.34,0,0,0,189,145.34,44,44,0,0,1,212,184Zm-24,0a20,20,0,0,0-10.49-17.6l-.1-.06a55.22,55.22,0,0,1-26.37-33,24,24,0,0,0-46.08,0,55.21,55.21,0,0,1-26.37,33.05l-.1.06A20,20,0,0,0,88,204a19.77,19.77,0,0,0,7.8-1.58l.13,0a84,84,0,0,1,64.14,0l.13,0A19.77,19.77,0,0,0,168,204,20,20,0,0,0,188,184Z',+ pushPin: 'M238.15,78.54,177.46,17.86a20,20,0,0,0-28.3,0L97.2,70c-12.43-3.33-36.68-5.72-61.74,14.5a20,20,0,0,0-1.6,29.73l45.46,45.47-39.8,39.8a12,12,0,0,0,17,17l39.8-39.81,45.47,45.46A20,20,0,0,0,155.91,228c.46,0,.93,0,1.4-.05A20,20,0,0,0,171.87,220c4.69-6.23,11-16.13,14.44-28s3.45-22.88.16-33.4l51.7-51.87A20,20,0,0,0,238.15,78.54Zm-74.26,68.79a12,12,0,0,0-2.23,13.84c3.43,6.86,6.9,21-6.28,40.65L54.08,100.53c21.09-14.59,39.53-6.64,41-6a11.67,11.67,0,0,0,13.81-2.29l54.43-54.61,55,55Z',+ shapes: 'M71.49,60.55a12,12,0,0,0-23,0l-36,120A12,12,0,0,0,24,196H96a12,12,0,0,0,11.49-15.45ZM40.13,172,60,105.76,79.87,172ZM212,74a54,54,0,1,0-54,54A54.06,54.06,0,0,0,212,74Zm-84,0a30,30,0,1,1,30,30A30,30,0,0,1,128,74Zm96,70H136a12,12,0,0,0-12,12v52a12,12,0,0,0,12,12h88a12,12,0,0,0,12-12V156A12,12,0,0,0,224,144Zm-12,52H148V168h64Z',+ signOut: 'M124,216a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V40A12,12,0,0,1,48,28h64a12,12,0,0,1,0,24H60V204h52A12,12,0,0,1,124,216Zm108.49-96.49-40-40a12,12,0,0,0-17,17L195,116H112a12,12,0,0,0,0,24h83l-19.52,19.51a12,12,0,0,0,17,17l40-40A12,12,0,0,0,232.49,119.51Z',+ smiley: 'M178.39,158c-11,19.06-29.39,30-50.39,30s-39.36-10.93-50.39-30a12,12,0,0,1,20.78-12c3.89,6.73,12.91,18,29.61,18s25.72-11.28,29.61-18a12,12,0,1,1,20.78,12ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128ZM92,124a16,16,0,1,0-16-16A16,16,0,0,0,92,124Zm72-32a16,16,0,1,0,16,16A16,16,0,0,0,164,92Z',+ sparkle: 'M199,125.31l-49.88-18.39L130.69,57a19.92,19.92,0,0,0-37.38,0L74.92,106.92,25,125.31a19.92,19.92,0,0,0,0,37.38l49.88,18.39L93.31,231a19.92,19.92,0,0,0,37.38,0l18.39-49.88L199,162.69a19.92,19.92,0,0,0,0-37.38Zm-63.38,35.16a12,12,0,0,0-7.11,7.11L112,212.28l-16.47-44.7a12,12,0,0,0-7.11-7.11L43.72,144l44.7-16.47a12,12,0,0,0,7.11-7.11L112,75.72l16.47,44.7a12,12,0,0,0,7.11,7.11L180.28,144ZM140,40a12,12,0,0,1,12-12h12V16a12,12,0,0,1,24,0V28h12a12,12,0,0,1,0,24H188V64a12,12,0,0,1-24,0V52H152A12,12,0,0,1,140,40ZM252,88a12,12,0,0,1-12,12h-4v4a12,12,0,0,1-24,0v-4h-4a12,12,0,0,1,0-24h4V72a12,12,0,0,1,24,0v4h4A12,12,0,0,1,252,88Z',+ stack: 'M234.36,170A12,12,0,0,1,230,186.37l-96,56a12,12,0,0,1-12.1,0l-96-56a12,12,0,0,1,12.09-20.74l90,52.48L218,165.63A12,12,0,0,1,234.36,170ZM218,117.63,128,170.11,38.05,117.63A12,12,0,0,0,26,138.37l96,56a12,12,0,0,0,12.1,0l96-56A12,12,0,0,0,218,117.63ZM20,80a12,12,0,0,1,6-10.37l96-56a12.06,12.06,0,0,1,12.1,0l96,56a12,12,0,0,1,0,20.74l-96,56a12,12,0,0,1-12.1,0l-96-56A12,12,0,0,1,20,80Zm35.82,0L128,122.11,200.18,80,128,37.89Z',+ star: 'M243,96a20.33,20.33,0,0,0-17.74-14l-56.59-4.57L146.83,24.62a20.36,20.36,0,0,0-37.66,0L87.35,77.44,30.76,82A20.45,20.45,0,0,0,19.1,117.88l43.18,37.24-13.2,55.7A20.37,20.37,0,0,0,79.57,233L128,203.19,176.43,233a20.39,20.39,0,0,0,30.49-22.15l-13.2-55.7,43.18-37.24A20.43,20.43,0,0,0,243,96ZM172.53,141.7a12,12,0,0,0-3.84,11.86L181.58,208l-47.29-29.08a12,12,0,0,0-12.58,0L74.42,208l12.89-54.4a12,12,0,0,0-3.84-11.86L41.2,105.24l55.4-4.47a12,12,0,0,0,10.13-7.38L128,41.89l21.27,51.5a12,12,0,0,0,10.13,7.38l55.4,4.47Z',+ textT: 'M212,56V88a12,12,0,0,1-24,0V68H140V188h20a12,12,0,0,1,0,24H96a12,12,0,0,1,0-24h20V68H68V88a12,12,0,0,1-24,0V56A12,12,0,0,1,56,44H200A12,12,0,0,1,212,56Z',+ trash: 'M216,48H180V36A28,28,0,0,0,152,8H104A28,28,0,0,0,76,36V48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM100,36a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V48H100Zm88,168H68V72H188ZM116,104v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm48,0v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z',+ trophy: 'M232,60H212V48a12,12,0,0,0-12-12H56A12,12,0,0,0,44,48V60H24A20,20,0,0,0,4,80V96a44.05,44.05,0,0,0,44,44h.77A84.18,84.18,0,0,0,116,195.15V212H96a12,12,0,0,0,0,24h64a12,12,0,0,0,0-24H140V195.11c30.94-4.51,56.53-26.2,67-55.11h1a44.05,44.05,0,0,0,44-44V80A20,20,0,0,0,232,60ZM28,96V84H44v28c0,1.21,0,2.41.09,3.61A20,20,0,0,1,28,96Zm160,15.1c0,33.33-26.71,60.65-59.54,60.9A60,60,0,0,1,68,112V60H188ZM228,96a20,20,0,0,1-16.12,19.62c.08-1.5.12-3,.12-4.52V84h16Z',+ users: 'M125.18,156.94a64,64,0,1,0-82.36,0,100.23,100.23,0,0,0-39.49,32,12,12,0,0,0,19.35,14.2,76,76,0,0,1,122.64,0,12,12,0,0,0,19.36-14.2A100.33,100.33,0,0,0,125.18,156.94ZM44,108a40,40,0,1,1,40,40A40,40,0,0,1,44,108Zm206.1,97.67a12,12,0,0,1-16.78-2.57A76.31,76.31,0,0,0,172,172a12,12,0,0,1,0-24,40,40,0,1,0-10.3-78.67,12,12,0,1,1-6.16-23.19,64,64,0,0,1,57.64,110.8,100.23,100.23,0,0,1,39.49,32A12,12,0,0,1,250.1,205.67Z',+ x: 'M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z'+} as const++export const PHOSPHOR_FILL = {+ pushPin: 'M235.33,104l-53.47,53.65c4.56,12.67,6.45,33.89-13.19,60A15.93,15.93,0,0,1,157,224c-.38,0-.75,0-1.13,0a16,16,0,0,1-11.32-4.69L96.29,171,53.66,213.66a8,8,0,0,1-11.32-11.32L85,159.71l-48.3-48.3A16,16,0,0,1,38,87.63c25.42-20.51,49.75-16.48,60.4-13.14L152,20.7a16,16,0,0,1,22.63,0l60.69,60.68A16,16,0,0,1,235.33,104Z',+ star: 'M234.29,114.85l-45,38.83L203,211.75a16.4,16.4,0,0,1-24.5,17.82L128,198.49,77.47,229.57A16.4,16.4,0,0,1,53,211.75l13.76-58.07-45-38.83A16.46,16.46,0,0,1,31.08,86l59-4.76,22.76-55.08a16.36,16.36,0,0,1,30.27,0l22.75,55.08,59,4.76a16.46,16.46,0,0,1,9.37,28.86Z'+} as const++export type PhosphorName = keyof typeof PHOSPHOR_BOLDdiff --git a/tests/storePackaging.test.ts b/tests/storePackaging.test.tsindex efc022f..48af20d 100644--- a/tests/storePackaging.test.ts+++ b/tests/storePackaging.test.ts@@ -87,12 +87,15 @@ describe('GitHub vs Store packaging contracts (on-disk, not assumed)', () => {'!resources/appx/**','!resources/startup/**/*.cs','!**/node_modules/emoji-datasource-twitter/**',- '!**/node_modules/lucide-react/**','!**/node_modules/gsap/**','!**/node_modules/framer-motion/**','!**/node_modules/@fontsource/**','!**/node_modules/react-dom/**']))+ // Icons are vendored Phosphor paths (src/components/phosphorPaths.ts): no icon package at all.+ for (const dep of ['lucide-react', '@phosphor-icons/react', '@iconify/react', '@iconify-json/cuida']) {+ expect({ ...pkg.dependencies, ...pkg.devDependencies }[dep]).toBeUndefined()+ }expect(pkg.build.appx.customExtensionsPath).toBe('resources/appx/startup-extensions.xml')expect(existsSync(join(root, 'resources/appx/startup-extensions.xml'))).toBe(true)})