Zype-Z / ShareImage-Docs

shareimage-docs.vercel.app
MIT License
0 stars 0 forks source link

Update nextra monorepo to v2 (major) #27

Open renovate[bot] opened 1 year ago

renovate[bot] commented 1 year ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
nextra ^1.1.0 -> ^2.0.0 age adoption passing confidence
nextra-theme-docs ^1.2.2 -> ^2.0.0 age adoption passing confidence

Release Notes

shuding/nextra (nextra) ### [`v2.13.4`](https://togithub.com/shuding/nextra/releases/tag/nextra-theme-docs%402.13.4) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.13.3...nextra@2.13.4) ##### Patch Changes - [`f7fc10b`](https://togithub.com/shuding/nextra/commit/f7fc10b4): fix for the memory leak issue in the `highlight-matches.tsx` component when search query contain multiple whitespaces - nextra@2.13.4 ### [`v2.13.3`](https://togithub.com/shuding/nextra/releases/tag/nextra%402.13.3) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.13.2...nextra@2.13.3) ##### Patch Changes - [`93b5705`](https://togithub.com/shuding/nextra/commit/93b57052): fix `type: 'separator'` zod validation, mark `title` field as optional ### [`v2.13.2`](https://togithub.com/shuding/nextra/releases/tag/nextra-theme-docs%402.13.2) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.13.1...nextra@2.13.2) ##### Patch Changes - [`ad7b31b`](https://togithub.com/shuding/nextra/commit/ad7b31b0): downgrade remark-math from `6` to `5.1.1` to fix `TypeError: Cannot read properties of undefined (reading 'mathFlowInside')` error fix support of \`\`` math lang that was overridden by `rehype-pretty-code\` - Updated dependencies \[[`ad7b31b`](https://togithub.com/shuding/nextra/commit/ad7b31b0)] - nextra@2.13.2 ### [`v2.13.1`](https://togithub.com/shuding/nextra/releases/tag/nextra-theme-docs%402.13.1) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.13.0...nextra@2.13.1) ##### Patch Changes - [`3e5e115`](https://togithub.com/shuding/nextra/commit/3e5e1153): fix showing toggle sidebar button when darkmode is turned off and i18n was not set - Updated dependencies \[[`ee02a48`](https://togithub.com/shuding/nextra/commit/ee02a483)] - nextra@2.13.1 ### [`v2.13.0`](https://togithub.com/shuding/nextra/releases/tag/nextra-theme-docs%402.13.0) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.12.3...nextra@2.13.0) ##### Minor Changes - [`7aec7bb`](https://togithub.com/shuding/nextra/commit/7aec7bb5): add `primarySaturation` theme option - [`a55e4aa`](https://togithub.com/shuding/nextra/commit/a55e4aa4): update `npm2yarn`, add bun tab ##### Patch Changes - [`a55e4aa`](https://togithub.com/shuding/nextra/commit/a55e4aa4): do not scroll to top while calling cmd+k in search input - nextra@2.13.0 ### [`v2.12.3`](https://togithub.com/shuding/nextra/releases/tag/nextra-theme-docs%402.12.3) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.12.2...nextra@2.12.3) ##### Patch Changes - [`ffb6d80`](https://togithub.com/shuding/nextra/commit/ffb6d808): - Fix `TypeError: Cannot read properties of null (reading 'classList')` while navigating to route that doesn't have toc with `router.push` for example - Add alias `Tabs.Tab` to `Tab` component - Add alias `Cards.Card` to `Card` component - should not attach custom heading id as id attribute if parent is `Tabs.Tab` or `Tab` - should not save to toc list headings of level 1 - Updated dependencies \[[`ffb6d80`](https://togithub.com/shuding/nextra/commit/ffb6d808)] - nextra@2.12.3 ### [`v2.12.2`](https://togithub.com/shuding/nextra/releases/tag/nextra-theme-docs%402.12.2) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.12.1...nextra@2.12.2) ##### Patch Changes - [`7c8c498`](https://togithub.com/shuding/nextra/commit/7c8c4989): fix `Out of Memory` in search while indexing large words - Updated dependencies \[[`7c8c498`](https://togithub.com/shuding/nextra/commit/7c8c4989)] - nextra@2.12.2 ### [`v2.12.1`](https://togithub.com/shuding/nextra/releases/tag/nextra-theme-docs%402.12.1) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.12.0...nextra@2.12.1) ##### Patch Changes - Updated dependencies \[[`52ae8fc`](https://togithub.com/shuding/nextra/commit/52ae8fc5)] - nextra@2.12.1 ### [`v2.12.0`](https://togithub.com/shuding/nextra/releases/tag/nextra-theme-docs%402.12.0) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.11.1...nextra@2.12.0) ##### Minor Changes - [`d982074`](https://togithub.com/shuding/nextra/commit/d9820746): - show headings for partial md/mdx in toc - hide headings in toc when parent `` or `` - [`63271a4`](https://togithub.com/shuding/nextra/commit/63271a41): add toc.backToTop option - [`8962597`](https://togithub.com/shuding/nextra/commit/8962597e): - allow override static image component that was hardcoded to `import Image from 'next/image'` now it's plain `` - support `
`/`` for `.md` files ##### Patch Changes - [`cca36d3`](https://togithub.com/shuding/nextra/commit/cca36d32): do not render mobile sidebar on desktop - Updated dependencies \[[`d982074`](https://togithub.com/shuding/nextra/commit/d9820746)] - Updated dependencies \[[`fbf003c`](https://togithub.com/shuding/nextra/commit/fbf003cd)] - Updated dependencies \[[`8962597`](https://togithub.com/shuding/nextra/commit/8962597e)] - nextra@2.12.0 ### [`v2.11.1`](https://togithub.com/shuding/nextra/releases/tag/nextra-theme-docs%402.11.1) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.11.0...nextra@2.11.1) ##### Patch Changes - [`cf5f91e`](https://togithub.com/shuding/nextra/commit/cf5f91ea): fix footnotes and backlink jump - [`ddddce9`](https://togithub.com/shuding/nextra/commit/ddddce95): skip search indexing for 404/500 pages - [`4dd720a`](https://togithub.com/shuding/nextra/commit/4dd720ad): remove `font-weight: 500;` from styles of code blocks since it gives no effect - [`29e35d8`](https://togithub.com/shuding/nextra/commit/29e35d81): fix feedback.labels for gitlab - Updated dependencies \[[`ddddce9`](https://togithub.com/shuding/nextra/commit/ddddce95)] - Updated dependencies \[[`6154e31`](https://togithub.com/shuding/nextra/commit/6154e312)] - Updated dependencies \[[`46743ba`](https://togithub.com/shuding/nextra/commit/46743ba4)] - Updated dependencies \[[`4dd720a`](https://togithub.com/shuding/nextra/commit/4dd720ad)] - nextra@2.11.1 ### [`v2.11.0`](https://togithub.com/shuding/nextra/releases/tag/nextra-theme-docs%402.11.0) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.10.0...nextra@2.11.0) ##### Minor Changes - [`3bb480a`](https://togithub.com/shuding/nextra/commit/3bb480a4): export `LocaleSwitch` from `nextra-theme-docs` ##### Patch Changes - [`3bb480a`](https://togithub.com/shuding/nextra/commit/3bb480a4): use github-slugger for custom heading ids to prevent duplicated headings - [`3bb480a`](https://togithub.com/shuding/nextra/commit/3bb480a4): fix custom heading id in search result - [`3bb480a`](https://togithub.com/shuding/nextra/commit/3bb480a4): fix `Warning: Prop href did not match. Server: "/blog.en-US#" Client: "/blog#"` in by `normalizePages` from nextra/normalize-pages\` - [`3bb480a`](https://togithub.com/shuding/nextra/commit/3bb480a4): improve hr contrast - [`3bb480a`](https://togithub.com/shuding/nextra/commit/3bb480a4): fix search, trigger the search after the Input is complete for languages like Chinese - [`3bb480a`](https://togithub.com/shuding/nextra/commit/3bb480a4): strip `.html` extension from URL route for static export - [`3bb480a`](https://togithub.com/shuding/nextra/commit/3bb480a4): fix memory leak in search for case ` > ` replaced previously to `>||` + some character provoke memory leak because `RegExp#exec` will always return a match - [`3bb480a`](https://togithub.com/shuding/nextra/commit/3bb480a4): fix code blocks `box-decoration-theme: clone` can create confusing output over line breaks, use `slice` instead - Updated dependencies \[[`3bb480a`](https://togithub.com/shuding/nextra/commit/3bb480a4)] - Updated dependencies \[[`3bb480a`](https://togithub.com/shuding/nextra/commit/3bb480a4)] - Updated dependencies \[[`3bb480a`](https://togithub.com/shuding/nextra/commit/3bb480a4)] - Updated dependencies \[[`3bb480a`](https://togithub.com/shuding/nextra/commit/3bb480a4)] - nextra@2.11.0 ### [`v2.10.0`](https://togithub.com/shuding/nextra/releases/tag/nextra-theme-docs%402.10.0) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.9.0...nextra@2.10.0) ##### Minor Changes - [`e54b008`](https://togithub.com/shuding/nextra/commit/e54b008): - add `@theguild/remark-npm2yarn` package that replaces the code block that has `npm2yarn` metadata with `` and `` components from `nextra/components`. - `` now has `selectedKey` prop, the chosen tab is saved in the local storage, which will be chosen in future page renders. More info ##### Patch Changes - Updated dependencies \[[`e54b008`](https://togithub.com/shuding/nextra/commit/e54b008)] - nextra@2.10.0 ### [`v2.9.0`](https://togithub.com/shuding/nextra/releases/tag/nextra-theme-docs%402.9.0) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.8.0...nextra@2.9.0) ##### Minor Changes - [`16bbb88`](https://togithub.com/shuding/nextra/commit/16bbb88): Move below packages to nextra package - `` and `` - `` and `` - `` - `` to import them you can use the following in your official `nextra-theme-blog` and `nextra-theme-docs` ```js import { Card, Cards } from 'nextra/components' ``` ```js import { Tab, Tabs } from 'nextra/components' ``` ```js import { Steps } from 'nextra/components' ``` ```js import { FileTree } from 'nextra/components' ``` ##### Patch Changes - [`b1a7eba`](https://togithub.com/shuding/nextra/commit/b1a7eba): `opens in new tab` span element should have `user-select: none` - Updated dependencies \[[`16bbb88`](https://togithub.com/shuding/nextra/commit/16bbb88)] - Updated dependencies \[[`23a25b1`](https://togithub.com/shuding/nextra/commit/23a25b1)] - nextra@2.9.0 ### [`v2.8.0`](https://togithub.com/shuding/nextra/releases/tag/nextra-theme-docs%402.8.0) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.7.1...nextra@2.8.0) ##### Minor Changes - [`b43f268`](https://togithub.com/shuding/nextra/commit/b43f268): add new option `sidebar.autoCollapse` to automatically collapse inactive folders above `defaultMenuCollapseLevel` ##### Patch Changes - [`6c12bf4`](https://togithub.com/shuding/nextra/commit/6c12bf4): fix broken code format while selecting and copying code with `showLineNumbers` option enabled - Updated dependencies \[[`6c12bf4`](https://togithub.com/shuding/nextra/commit/6c12bf4)] - nextra@2.8.0 ### [`v2.7.1`](https://togithub.com/shuding/nextra/releases/tag/nextra-theme-docs%402.7.1) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.7.0...nextra@2.7.1) ##### Patch Changes - Updated dependencies \[[`0e53ca5`](https://togithub.com/shuding/nextra/commit/0e53ca51)] - nextra@2.7.1 ### [`v2.7.0`](https://togithub.com/shuding/nextra/releases/tag/nextra-theme-docs%402.7.0) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.6.2...nextra@2.7.0) ##### Minor Changes - [`44626e8`](https://togithub.com/shuding/nextra/commit/44626e8f): support mermaid diagrams ##### Patch Changes - Updated dependencies \[[`44626e8`](https://togithub.com/shuding/nextra/commit/44626e8f)] - nextra@2.7.0 ### [`v2.6.2`](https://togithub.com/shuding/nextra/releases/tag/nextra-theme-docs%402.6.2) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.6.1...nextra@2.6.2) ##### Patch Changes - [`9c9625e`](https://togithub.com/shuding/nextra/commit/9c9625ee): Fix search not working in certain Next.js versions - Updated dependencies \[[`9c9625e`](https://togithub.com/shuding/nextra/commit/9c9625ee)] - nextra@2.6.2 ### [`v2.6.1`](https://togithub.com/shuding/nextra/releases/tag/nextra-theme-docs%402.6.1) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.6.0...nextra@2.6.1) ##### Patch Changes - Updated dependencies \[[`1e9ebab`](https://togithub.com/shuding/nextra/commit/1e9ebabc)] - nextra@2.6.1 ### [`v2.6.0`](https://togithub.com/shuding/nextra/releases/tag/nextra-theme-docs%402.6.0) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.5.2...nextra@2.6.0) ##### Minor Changes - [`1c6256b`](https://togithub.com/shuding/nextra/commit/1c6256b): Move Callout component to nextra package ##### Patch Changes - [`15c4092`](https://togithub.com/shuding/nextra/commit/15c4092): fix inconsistent `font-weight: bold` style for `type: 'menu'` - [`2d79e20`](https://togithub.com/shuding/nextra/commit/2d79e20): Resolves dark mode contrast problems in sidebar and breadcrumbs - Updated dependencies \[[`15c4092`](https://togithub.com/shuding/nextra/commit/15c4092)] - Updated dependencies \[[`1c6256b`](https://togithub.com/shuding/nextra/commit/1c6256b)] - nextra@2.6.0 ### [`v2.5.2`](https://togithub.com/shuding/nextra/releases/tag/nextra-theme-docs%402.5.2) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.5.1...nextra@2.5.2) ##### Patch Changes - Updated dependencies \[[`a3601e5`](https://togithub.com/shuding/nextra/commit/a3601e5)] - nextra@2.5.2 ### [`v2.5.1`](https://togithub.com/shuding/nextra/releases/tag/nextra-theme-docs%402.5.1) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.5.0...nextra@2.5.1) ##### Patch Changes - Updated dependencies \[[`d408ab0`](https://togithub.com/shuding/nextra/commit/d408ab0)] - nextra@2.5.1 ### [`v2.5.0`](https://togithub.com/shuding/nextra/releases/tag/nextra-theme-docs%402.5.0) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.4.2...nextra@2.5.0) ##### Minor Changes - [`08d393e`](https://togithub.com/shuding/nextra/commit/08d393e): support ANSI highlighting ##### Patch Changes - [`8515349`](https://togithub.com/shuding/nextra/commit/8515349): fix Warning: React has detected a change in the order of Hooks called by Search - Updated dependencies \[[`08d393e`](https://togithub.com/shuding/nextra/commit/08d393e)] - nextra@2.5.0 ### [`v2.4.2`](https://togithub.com/shuding/nextra/releases/tag/nextra-theme-docs%402.4.2) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.4.1...nextra@2.4.2) ##### Patch Changes - [`41d4aa0`](https://togithub.com/shuding/nextra/commit/41d4aa0): remove `nx-overflow-x-hidden` from main content - Updated dependencies \[[`16e562d`](https://togithub.com/shuding/nextra/commit/16e562d)] - nextra@2.4.2 ### [`v2.4.1`](https://togithub.com/shuding/nextra/releases/tag/nextra-theme-docs%402.4.1) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.4.0...nextra@2.4.1) ##### Patch Changes - [`2df6e91`](https://togithub.com/shuding/nextra/commit/2df6e91): Use config.useOptions text as the Select selected name on Theme Switch - [`7989cc5`](https://togithub.com/shuding/nextra/commit/7989cc5): fix regression of sidebar style for folder - Updated dependencies \[[`a992ce1`](https://togithub.com/shuding/nextra/commit/a992ce1)] - nextra@2.4.1 ### [`v2.4.0`](https://togithub.com/shuding/nextra/releases/tag/nextra-theme-docs%402.4.0) [Compare Source](https://togithub.com/shuding/nextra/compare/nextra@2.3.0...nextra@2.4.0) ##### Minor Changes - [`6973b21`](https://togithub.com/shuding/nextra/commit/6973b21): Add new option `headingComponent` to the TOC ##### Patch Changes - [`2ff360f`](https://togithub.com/shuding/nextra/commit/2ff360f): use `` instead `
` inside `