mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-12-03 16:59:42 +00:00
* chore(docs): upgrade to VitePress 2 - Bump vitepress to 2.0.0-alpha.21 - Drop direct @docsearch/js and @docsearch/css deps; VitePress 2 ships DocSearch v4 and imports its styles itself - VPNavBarSearch override: use the new VPAlgoliaSearchBox props (algoliaOptions + openRequest) instead of dispatching synthetic keydown events - VPCarbonAds override: replace removed useAside composable with a media query, matching upstream - VPFooter override: use useLayout from vitepress/theme instead of the removed useSidebar().hasSidebar Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G9u8FhZukDbCKe1ZFByn43 * Fix types and imports * Fix ts imports * fix styling * Update mediaqueries * chore(docs): remove unused theme overrides VitePress 2 has no VPIconAlignLeft.vue for the alias to replace (the local nav uses the vpi-text-align-start icon class), and the Hero and HeroMatrix overrides aren't imported anywhere. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore(docs): use rem media queries in MCP and waitlist styles Matches the rest of the theme and VitePress 2, which switched its breakpoints to rem. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(docs): don't fail the build when GitHub's release API drops The home hero's data loader let a network error from the GitHub releases API escape, which failed the whole docs build in CI ("fetch failed: other side closed"). Retry once, then fall back to null and hide the version badge instead of rendering "vundefined". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Add sentry --------- Co-authored-by: Claude <noreply@anthropic.com>
5.6 KiB
5.6 KiB
layout, footer, aside, editLink, next, prev, sidebar
| layout | footer | aside | editLink | next | prev | sidebar |
|---|---|---|---|---|---|---|
| doc | false | false | false | false | false | true |
Created:
Unreleased
Created:
{{params.createdRelease.version}}
Last changed:
{{params.changedRelease.version}}
<PageTabs :tabs="['More like this', 'Code examples', 'See in action']"
<template #tab-0>
<template #tab-1>
<template #tab-2>
<style scoped> .preview { grid-area: preview; margin-bottom: 24px; max-width: 240px; width: 240px; flex-shrink: 0; } .layout { align-items: flex-start; } .actions { text-align: right; display: flex; justify-content: flex-end; margin: -12px -12px 24px 0; } .meta { display: flex; gap: 24px; align-items: flex-start; } .info { --tags-gradient-background: var(--vp-c-bg); } .icon-info { text-align: center; } .version .label { margin-top: 12px; } .badge { margin: 12px 0; } .version, .contributors { display: flex; flex-wrap: wrap; align-items: flex-start; margin-bottom: 0px; justify-content: flex-start; gap: 4px; } .version .awaiting-release { color: var(--vp-c-danger-3); } .iconPreviews { display: flex; justify-content: center; gap: 24px; } .smallPreview { flex-shrink: 2; flex-direction: column; align-items: flex-start; } @media (min-width: 40rem) { .layout { align-items: flex-start; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; } .preview { margin: 0 auto; } .iconPreviews { flex-direction: column; justify-content: flex-start; } .actions { position: absolute; right: 0; margin: 0; } .smallPreview { flex-direction: row; align-items: center; } } </style> <style> .icon-page-sections h2.title { text-align: center; font-weight: 500; margin-block-end: 64px; padding-top: 32px; } .tab-list { margin: 24px -24px 24px; } @media (min-width: 40rem) { .tab-list { margin: 24px 0 24px; } .iconPreviews { justify-content: flex-start; } } </style>