docs: fix infinite scroll, update next.js, other fixes (#9441)

* update nextjs

* badge + scroll fixes
This commit is contained in:
Shahed Nasser
2024-10-03 14:17:33 +03:00
committed by GitHub
parent 48e00169d2
commit ab5a7ca691
20 changed files with 180 additions and 586 deletions

View File

@@ -43,6 +43,14 @@
@apply bg-medusa-bg-highlight;
}
* {
scrollbar-color: var(--docs-border-base) var(--docs-bg-base);
}
aside * {
scrollbar-color: var(--docs-border-base) var(--docs-bg-subtle);
}
body[data-modal="opened"] {
@apply !overflow-hidden;
}

View File

@@ -17,7 +17,7 @@
"@mdx-js/react": "^3.0.0",
"@medusajs/icons": "preview",
"@medusajs/ui": "^3.0.0",
"@next/mdx": "14.2.3",
"@next/mdx": "14.2.14",
"@readme/openapi-parser": "^2.5.0",
"@types/mapbox__rehype-prism": "^0.8.0",
"@types/mdx": "^2.0.5",
@@ -33,7 +33,7 @@
"jsdom": "^22.1.0",
"json-schema": "^0.4.0",
"json-stringify-pretty-compact": "^4.0.0",
"next": "^14.2.3",
"next": "^14.2.14",
"next-mdx-remote": "^4.4.1",
"openapi-sampler": "^1.3.1",
"openapi-types": "^12.1.3",
@@ -53,7 +53,7 @@
"yaml": "^2.3.1"
},
"devDependencies": {
"@next/bundle-analyzer": "^14.2.3",
"@next/bundle-analyzer": "^14.2.14",
"@types/jsdom": "^21.1.1",
"@types/pluralize": "^0.0.33",
"types": "*"