mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-11-10 13:18:25 +00:00
* feat(docs): add keyboard shortcuts to the icons page Add the shortcuts suggested in #4916 and list them on the page: - Ctrl/Cmd + click on an icon copies its name - Arrow keys move from the search field into the results and between the icons - Ctrl/Cmd + C copies the name of the selected icon - Ctrl/Cmd + Shift + C copies the SVG of the selected icon Icons can now be focused with the keyboard, and a keyboard button next to the sort select opens a dialog with all shortcuts, including the existing Ctrl/Cmd + K and Shift + click. The dialog also opens with Shift + ? (except while typing in a field). Closes #4916 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(docs): add copy toasts, open icons with Enter and a shared Kbd component - Copying an icon shows a toast (vue-sonner, bottom-center) that says whether its name or its SVG was copied - Enter opens the selected icon's drawer - The SVG shortcut is now Shift + C, as Ctrl/Cmd + Shift + C opens the browser's inspect tool - Kbd component shared by the search inputs and the shortcuts dialog Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Adjust keyboard shortcuts * Revert customizer change * Adjust kbd style * Fix toaster styling * Fix types --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Eric <eric.fennis@gmail.com>
84 lines
3.2 KiB
JSON
84 lines
3.2 KiB
JSON
{
|
|
"name": "@lucide/docs",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"type": "module",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"docs:dev": "pnpm run /^prebuild:.*/ && vitepress dev",
|
|
"docs:build": "pnpm run /^prebuild:.*/ && vitepress build",
|
|
"docs:preview": "vitepress preview",
|
|
"build:docs": "NODE_OPTIONS=--max-old-space-size=8192 vitepress build",
|
|
"prebuild:iconNodes": "node ./scripts/writeIconNodes.mts",
|
|
"prebuild:metaJson": "node ./scripts/writeIconMetaIndex.mts",
|
|
"prebuild:releaseJson": "node ./scripts/writeReleaseMetadata.mts",
|
|
"prebuild:categoriesJson": "node ./scripts/writeCategoriesMetadata.mts",
|
|
"prebuild:relatedIcons": "node ./scripts/writeIconRelatedIcons.mts",
|
|
"prebuild:iconDetails": "node ./scripts/writeIconDetails.mts",
|
|
"prebuild:iconPopularity": "node --env-file-if-exists=.env ./scripts/writeiconPopularity.mts && node ./scripts/writeiconPopularityIndex.mts",
|
|
"prebuild:brandStopwords": "node ./scripts/writeBrandStopwords.mts",
|
|
"prebuild:sponsors": "node --env-file-if-exists=.env ./scripts/writeSponsorsData.mts",
|
|
"prebuild:writeLabIconNodes": "node ./scripts/writeLabIconNodes.mts",
|
|
"prebuild:writeLabIconMetaIndex": "node ./scripts/writeLabIconMetaIndex.mts",
|
|
"postbuild:vercelJson": "node ./scripts/writeVercelOutput.mts",
|
|
"dev": "nitropack dev",
|
|
"prebuild:api": "nitropack prepare",
|
|
"build:api": "NODE_OPTIONS=--max-old-space-size=8192 nitropack build",
|
|
"build": "pnpm run /^prebuild:.*/ && pnpm run build:api && pnpm run build:docs && pnpm postbuild:vercelJson",
|
|
"preview": "node .output/server/index.mjs",
|
|
"typecheck": "vue-tsc --noEmit"
|
|
},
|
|
"author": "Eric Fennis",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"@docsearch/js": "3.8.2",
|
|
"@lucide/build-icons": "workspace:*",
|
|
"@lucide/helpers": "workspace:*",
|
|
"@lucide/shared": "workspace:*",
|
|
"@rollup/plugin-replace": "^6.0.3",
|
|
"@types/react": "^19.3.0",
|
|
"@types/react-dom": "^19.3.0",
|
|
"@types/semver": "^7.8.0",
|
|
"h3": "^1.15.11",
|
|
"markdown-it": "^15.0.3",
|
|
"markdown-it-container": "^4.0.0",
|
|
"nitropack": "^2.13.5",
|
|
"rollup-plugin-copy": "^3.5.0",
|
|
"semver": "^7.8.5",
|
|
"sharp": "^0.35.5",
|
|
"shiki": "^4.5.0",
|
|
"simple-git": "^4.0.2",
|
|
"sitemap": "^9.0.1",
|
|
"svg-path-commander": "^2.3.3",
|
|
"svg-pathdata": "^9.0.0",
|
|
"svgson": "^5.3.1",
|
|
"typescript": "^6.0.3",
|
|
"vitepress": "^1.6.4",
|
|
"vitepress-plugin-group-icons": "^1.7.6",
|
|
"vitepress-plugin-llms": "^1.13.5",
|
|
"vue-tsc": "^3.3.11"
|
|
},
|
|
"dependencies": {
|
|
"@docsearch/css": "3.8.2",
|
|
"@floating-ui/vue": "^2.0.1",
|
|
"@headlessui/vue": "^1.7.23",
|
|
"@lucide/vue": "workspace:*",
|
|
"@openpanel/web": "^1.4.2",
|
|
"@vueuse/components": "^14.4.0",
|
|
"@vueuse/core": "^14.4.0",
|
|
"@vueuse/integrations": "^14.4.0",
|
|
"element-to-path": "^1.2.1",
|
|
"fuse.js": "^7.5.0",
|
|
"jszip": "^3.10.1",
|
|
"lodash-es": "^4.18.1",
|
|
"lucide": "workspace:*",
|
|
"lucide-react": "workspace:*",
|
|
"motion-v": "2.11.0",
|
|
"react": "19.3.1",
|
|
"react-dom": "19.3.1",
|
|
"sandpack-vue3": "3.1.12",
|
|
"vue": "^3.5.44",
|
|
"vue-sonner": "^2.0.9"
|
|
}
|
|
}
|