From 807492082a3528b71981c064463444245a6a5d4c Mon Sep 17 00:00:00 2001 From: fuma-nama Date: Sat, 25 May 2024 19:01:04 +0800 Subject: [PATCH 1/2] UI: Fix sidebar background width on dynamic sidebar --- .changeset/short-masks-remember.md | 5 +++++ packages/ui/src/tailwind-plugin.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/short-masks-remember.md diff --git a/.changeset/short-masks-remember.md b/.changeset/short-masks-remember.md new file mode 100644 index 000000000..12b0b7730 --- /dev/null +++ b/.changeset/short-masks-remember.md @@ -0,0 +1,5 @@ +--- +'fumadocs-ui': patch +--- + +Fix sidebar background width on dynamic sidebar diff --git a/packages/ui/src/tailwind-plugin.ts b/packages/ui/src/tailwind-plugin.ts index bcdf31f16..2607a5ff8 100644 --- a/packages/ui/src/tailwind-plugin.ts +++ b/packages/ui/src/tailwind-plugin.ts @@ -87,7 +87,7 @@ export const docsUi = plugin.withOptions( 'inset-inline-start': 'calc((100vw - min(100vw,1400px))/-2)', width: 'calc((100vw - min(100vw,1400px))/2 + 100%)', }, - '#dynamic-sidebar #sidebar-background': { + '#dynamic-sidebar[data-open=false] #sidebar-background': { 'inset-inline-start': '0', width: '100%', }, From d62bfda15f3451b09e9a0010eff88bc55e272b80 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 25 May 2024 11:02:39 +0000 Subject: [PATCH 2/2] Version Packages --- .changeset/short-masks-remember.md | 5 ----- examples/contentlayer/package.json | 6 +++--- examples/i18n/package.json | 6 +++--- examples/next-mdx/package.json | 6 +++--- packages/contentlayer/CHANGELOG.md | 6 ++++++ packages/contentlayer/package.json | 2 +- packages/core/CHANGELOG.md | 2 ++ packages/core/package.json | 2 +- packages/create-app-versions/package.json | 8 +++---- packages/create-app/CHANGELOG.md | 2 ++ packages/create-app/package.json | 2 +- packages/mdx/CHANGELOG.md | 6 ++++++ packages/mdx/package.json | 2 +- packages/ui/CHANGELOG.md | 7 ++++++ packages/ui/package.json | 2 +- pnpm-lock.yaml | 26 +++++++++++------------ 16 files changed, 54 insertions(+), 36 deletions(-) delete mode 100644 .changeset/short-masks-remember.md diff --git a/.changeset/short-masks-remember.md b/.changeset/short-masks-remember.md deleted file mode 100644 index 12b0b7730..000000000 --- a/.changeset/short-masks-remember.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'fumadocs-ui': patch ---- - -Fix sidebar background width on dynamic sidebar diff --git a/examples/contentlayer/package.json b/examples/contentlayer/package.json index 34c2826ff..83c858eb2 100644 --- a/examples/contentlayer/package.json +++ b/examples/contentlayer/package.json @@ -10,9 +10,9 @@ }, "dependencies": { "contentlayer": "0.3.4", - "fumadocs-contentlayer": "1.1.24", - "fumadocs-core": "11.2.0", - "fumadocs-ui": "11.2.0", + "fumadocs-contentlayer": "1.1.25", + "fumadocs-core": "11.2.1", + "fumadocs-ui": "11.2.1", "next": "^14.2.3", "next-contentlayer": "^0.3.4", "react": "18.3.1", diff --git a/examples/i18n/package.json b/examples/i18n/package.json index 9f86f914d..954b8dce1 100644 --- a/examples/i18n/package.json +++ b/examples/i18n/package.json @@ -8,9 +8,9 @@ "start": "next start" }, "dependencies": { - "fumadocs-core": "11.2.0", - "fumadocs-mdx": "8.2.22", - "fumadocs-ui": "11.2.0", + "fumadocs-core": "11.2.1", + "fumadocs-mdx": "8.2.23", + "fumadocs-ui": "11.2.1", "next": "^14.2.3", "react": "18.3.1", "react-dom": "18.3.1" diff --git a/examples/next-mdx/package.json b/examples/next-mdx/package.json index b458a2856..442d660a0 100644 --- a/examples/next-mdx/package.json +++ b/examples/next-mdx/package.json @@ -8,9 +8,9 @@ "start": "next start" }, "dependencies": { - "fumadocs-core": "11.2.0", - "fumadocs-mdx": "8.2.22", - "fumadocs-ui": "11.2.0", + "fumadocs-core": "11.2.1", + "fumadocs-mdx": "8.2.23", + "fumadocs-ui": "11.2.1", "next": "^14.2.3", "react": "18.3.1", "react-dom": "18.3.1" diff --git a/packages/contentlayer/CHANGELOG.md b/packages/contentlayer/CHANGELOG.md index 9a0b16445..366fd3ea4 100644 --- a/packages/contentlayer/CHANGELOG.md +++ b/packages/contentlayer/CHANGELOG.md @@ -1,5 +1,11 @@ # fumadocs-contentlayer +## 1.1.25 + +### Patch Changes + +- fumadocs-core@11.2.1 + ## 1.1.24 ### Patch Changes diff --git a/packages/contentlayer/package.json b/packages/contentlayer/package.json index 4710689fc..6290d0184 100644 --- a/packages/contentlayer/package.json +++ b/packages/contentlayer/package.json @@ -1,6 +1,6 @@ { "name": "fumadocs-contentlayer", - "version": "1.1.24", + "version": "1.1.25", "description": "The Contentlayer adapter for Fumadocs", "keywords": [ "NextJs", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index abc96c930..623a80a3c 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,7 @@ # next-docs-zeta +## 11.2.1 + ## 11.2.0 ## 11.1.3 diff --git a/packages/core/package.json b/packages/core/package.json index 48b6b2311..751b3a6e1 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "fumadocs-core", - "version": "11.2.0", + "version": "11.2.1", "description": "The library for building a documentation website in Next.js", "keywords": [ "NextJs", diff --git a/packages/create-app-versions/package.json b/packages/create-app-versions/package.json index e1279fe0b..8a98a3b71 100644 --- a/packages/create-app-versions/package.json +++ b/packages/create-app-versions/package.json @@ -10,10 +10,10 @@ "@types/react-dom": "^18.3.0", "autoprefixer": "^10.4.19", "contentlayer": "^0.3.4", - "fumadocs-contentlayer": "^1.1.24", - "fumadocs-core": "^11.2.0", - "fumadocs-mdx": "^8.2.22", - "fumadocs-ui": "^11.2.0", + "fumadocs-contentlayer": "^1.1.25", + "fumadocs-core": "^11.2.1", + "fumadocs-mdx": "^8.2.23", + "fumadocs-ui": "^11.2.1", "next": "^14.2.3", "next-contentlayer": "^0.3.4", "postcss": "^8.4.38", diff --git a/packages/create-app/CHANGELOG.md b/packages/create-app/CHANGELOG.md index 9dac8462f..12d3e0899 100644 --- a/packages/create-app/CHANGELOG.md +++ b/packages/create-app/CHANGELOG.md @@ -1,5 +1,7 @@ # create-next-docs-app +## 11.2.1 + ## 11.2.0 ## 11.1.3 diff --git a/packages/create-app/package.json b/packages/create-app/package.json index 024c337e9..2ffa8aa99 100644 --- a/packages/create-app/package.json +++ b/packages/create-app/package.json @@ -1,6 +1,6 @@ { "name": "create-fumadocs-app", - "version": "11.2.0", + "version": "11.2.1", "description": "Create a new documentation site with Fumadocs", "keywords": [ "NextJs", diff --git a/packages/mdx/CHANGELOG.md b/packages/mdx/CHANGELOG.md index e604b87ba..63fcae86b 100644 --- a/packages/mdx/CHANGELOG.md +++ b/packages/mdx/CHANGELOG.md @@ -1,5 +1,11 @@ # next-docs-mdx +## 8.2.23 + +### Patch Changes + +- fumadocs-core@11.2.1 + ## 8.2.22 ### Patch Changes diff --git a/packages/mdx/package.json b/packages/mdx/package.json index d1cf48526..6e3b7453d 100644 --- a/packages/mdx/package.json +++ b/packages/mdx/package.json @@ -1,6 +1,6 @@ { "name": "fumadocs-mdx", - "version": "8.2.22", + "version": "8.2.23", "description": "The built-in source for Fumadocs", "keywords": [ "NextJs", diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index 3c6b53f39..4dba244c8 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,12 @@ # next-docs-ui +## 11.2.1 + +### Patch Changes + +- 8074920: Fix sidebar background width on dynamic sidebar + - fumadocs-core@11.2.1 + ## 11.2.0 ### Minor Changes diff --git a/packages/ui/package.json b/packages/ui/package.json index 01020b30d..95cd0beab 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "fumadocs-ui", - "version": "11.2.0", + "version": "11.2.1", "description": "The framework for building a documentation website in Next.js", "keywords": [ "NextJs", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2262fa097..dcc5919ea 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -186,13 +186,13 @@ importers: specifier: 0.3.4 version: 0.3.4 fumadocs-contentlayer: - specifier: 1.1.24 + specifier: 1.1.25 version: link:../../packages/contentlayer fumadocs-core: - specifier: 11.2.0 + specifier: 11.2.1 version: link:../../packages/core fumadocs-ui: - specifier: 11.2.0 + specifier: 11.2.1 version: link:../../packages/ui next: specifier: ^14.2.3 @@ -229,13 +229,13 @@ importers: examples/i18n: dependencies: fumadocs-core: - specifier: 11.2.0 + specifier: 11.2.1 version: link:../../packages/core fumadocs-mdx: - specifier: 8.2.22 + specifier: 8.2.23 version: link:../../packages/mdx fumadocs-ui: - specifier: 11.2.0 + specifier: 11.2.1 version: link:../../packages/ui next: specifier: ^14.2.3 @@ -263,13 +263,13 @@ importers: examples/next-mdx: dependencies: fumadocs-core: - specifier: 11.2.0 + specifier: 11.2.1 version: link:../../packages/core fumadocs-mdx: - specifier: 8.2.22 + specifier: 8.2.23 version: link:../../packages/mdx fumadocs-ui: - specifier: 11.2.0 + specifier: 11.2.1 version: link:../../packages/ui next: specifier: ^14.2.3 @@ -465,16 +465,16 @@ importers: specifier: ^0.3.4 version: 0.3.4 fumadocs-contentlayer: - specifier: ^1.1.24 + specifier: ^1.1.25 version: link:../contentlayer fumadocs-core: - specifier: ^11.2.0 + specifier: ^11.2.1 version: link:../core fumadocs-mdx: - specifier: ^8.2.22 + specifier: ^8.2.23 version: link:../mdx fumadocs-ui: - specifier: ^11.2.0 + specifier: ^11.2.1 version: link:../ui next: specifier: ^14.2.3