Rami Yushuvaev
0f4ac56ec7
feat(theme): use native CSS for RTL instead of using `rtlcss` package
2 weeks ago
Rami Yushuvaev
f3885aa7c3
feat(theme): use native CSS for RTL instead of using `rtlcss` package
2 weeks ago
Rami Yushuvaev
30f0e2735f
feat(theme): use native CSS for RTL instead of using `rtlcss` package
2 weeks ago
Divyansh Singh
dfb02a479f
feat(client): emit `vitepress:codeGroupTabActivate` custom event when a code group tab is activated
...
closes #5023
3 weeks ago
Divyansh Singh
0ee71588de
fix(theme): sidebar alignment when scrollbar is there on page
...
closes #5027
3 weeks ago
Divyansh Singh
4e548f5424
fix: simplify lang extraction logic; use markdown-it plugins in type-safe manner; bump deps
3 weeks ago
Bjorn Lu
bf2715ed67
feat: prevent `$` symbol selection in shell code ( #5025 )
3 weeks ago
Dmitrii Savelev
be260fda6e
fix(theme): use nav height css var for curtain top in sidebar ( #4993 )
1 month ago
Brainshaker95
113d230478
fix(theme): disable whitespace wrapping for VPBadge ( #4968 )
2 months ago
Miroma
34cfa91b6f
feat(theme): allow passing functions for nav links ( #4963 )
2 months ago
Divyansh Singh
d46107fa25
fix(client,a11y): improve focus handling and scrolling behavior in router ( #4943 )
3 months ago
Joaquín Sánchez
187bf250e6
feat(i18n,a11y): change last update logic ( #4935 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
3 months ago
Divyansh Singh
c2eaccd0d2
fix(theme): avoid use of `:where` in selector list for now
...
x-ref: #4923
3 months ago
Divyansh Singh
f0b29d7ef3
fix(theme): add lang and dir attributes to language picker
3 months ago
Divyansh Singh
82fac5d22c
fix(theme): adjust margin of code blocks inside containers
...
closes #4921
3 months ago
Divyansh Singh
d3a15673bd
fix(hmr): no need for server restart on theme change
4 months ago
Divyansh Singh
1c8815d53e
fix(theme): use clipboard-check instead of clipboard-copy for code copied icon
4 months ago
Divyansh Singh
43b36c0c19
fix(theme): fix local nav alignment and increase touch area
4 months ago
Divyansh Singh
b83799a6e7
chore: bump deps
4 months ago
Divyansh Singh
7df3052512
fix(theme): nav background doesn't extend fully and gap after sidebar with non-overlay scrollbars
...
closes #4653
Co-authored-by: Burrito <burritoyangster@gmail.com>
4 months ago
Artea
0ca25ca314
refactor(nav,layout): use `InjectionKey` ( #4880 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
4 months ago
Artea
f97635916e
refactor: `VPMenu` related component use generic type for component ( #4883 )
4 months ago
Artea
e1a35b63b3
chore(devtool): remove `as any` ( #4881 )
4 months ago
Divyansh Singh
eb7658d406
fix(theme): don't add `rel=me` for team members
4 months ago
Andrey Nering
34886c667d
feat(theme): add `rel="me"` to social links by default ( #4873 )
4 months ago
Divyansh Singh
b840877aa8
fix(client): base not stripped from relativePath in 404 pages
...
closes #4850
4 months ago
Divyansh Singh
8b232171cc
fix(search): style tweaks for when searches are empty
4 months ago
Divyansh Singh
162c6a69bf
fix(search): input placeholder being cut off in smaller viewports
4 months ago
Dylan Tientcheu
ac61abe7d7
feat(search): upgrade search to DocSearch v4-beta ( #4843 )
...
BREAKING CHANGE: Uses DocSearch v4 beta. No change is required if you're not customizing the styles of navbar search button or modal. DocSearch AI features are in private beta, you can apply for them at https://forms.gle/iyfb5pC2CiiwszUKA
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
4 months ago
Divyansh Singh
3c51b22ac9
fix(theme): remove duplicate text in sponsors grid
...
closes #4854
4 months ago
noy4
c8fc80e438
fix(theme): remove extra slash when concatenating base with sidebar links
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
5 months ago
tzyoo
23541b4f83
feat(router): add `replace` option to useRouter for history management ( #4788 )
6 months ago
Mazel
21fcecce05
fix(theme): prevent error in handleSearchHotKey method ( #4782 )
...
x-ref: https://redirect.github.com/microsoft/TypeScript/issues/59631
6 months ago
Divyansh Singh
c128baf0c4
fix(client): properly skip removed lines when copying code blocks
...
x-ref: https://github.com/vuejs/vitepress/issues/4751#issuecomment-2892833187
7 months ago
Divyansh Singh
a643347530
fix(theme/regression): code blocks not aligned properly in rtl layouts
7 months ago
Artea
2c4944f06c
fix(theme): hide native search input cancel button ( #4723 )
7 months ago
Divyansh Singh
19faa16169
feat: add dir=ltr by default on code block pre elements instead of relying on css
8 months ago
Alexander Lichter
0b70397197
feat(default-theme): make VPButton slottable ( #4689 )
8 months ago
Divyansh Singh
e5ab0676a9
perf: hoist expensive operations in useLayout
8 months ago
Yuxuan Zhang
544cd81259
feat(theme)!: add `isHome` frontmatter option ( #4673 )
...
BREAKING CHANGE: `useLocalNav` and `useSidebar` are removed in favor of `useLayout`. To migrate, just do find and replace. Sidebar controls are no longer exported, but I didn't find any usage on GitHub. If there is demand, we can export respective composables later. `DefaultTheme.DocSidebar` and `DefaultTheme.DocLocalNav` types are also removed.
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
Co-authored-by: userquin <userquin@gmail.com>
8 months ago
Yuxuan Zhang
0267dcafa2
feat(theme): make "Take me home" button's link customizable ( #4658 )
8 months ago
Divyansh Singh
db58af5c66
fix!: don't remove shiki styles from `pre` and remove unnecessary transformers ( #4652 )
...
BREAKING CHANGE: `vp-adaptive-theme` class is no longer added to code blocks when there is single theme. Theme authors supporting single code theme can use `.shiki:not(.shiki-themes)` as selector. Alternatively, it might be better to use the bg/fg variables set on the `.shiki` block to keep things generic.
BREAKING CHANGE: `vp-code` class is no longer added to code blocks. Use `.shiki` or `pre.shiki` or `[class*='language-'] pre` instead.
People not customizing their themes are not affected. But if you see weird stuff, you know what to change.
8 months ago
GabrielxD
7d94481920
fix(theme-default): ensure proper sizing of SVG hero images ( #4639 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
9 months ago
Divyansh Singh
a62ea6a832
feat: dynamic routes plugin overhaul ( #4525 )
...
BREAKING CHANGES: Internals are modified a bit to better support vite 6 and handle HMR more correctly. For most users this won't need any change on their side.
9 months ago
Bjorn Lu
d1f2afdf0f
fix: set correct oldURL and newURL for hashchange ( #4573 )
10 months ago
Will Hack
5dccaeef05
fix(theme): code block contrast ratio ( #4487 )
10 months ago
Divyansh Singh
6031dbcdb7
chore: bump deps
10 months ago
Ebrahim Fallah
091d5840ae
fix(theme): allow interactions behind scroll shadow ( #4537 )
10 months ago
Divyansh Singh
23d3281ed6
feat: support same page navigation in router.go ( #4511 )
10 months ago
Divyansh Singh
e0350275b3
fix: temporary fix for docsearch navigation
11 months ago