docs: redesign sidebar (#8408)

* initial changes

* redesign the sidebar + nav drawer

* changes to sidebar items

* finish up sidebar redesign

* support new sidebar in resources

* general fixes

* integrate in ui

* support api reference

* refactor

* integrate in user guide

* docs: fix build errors

* fix user guide build

* more refactoring

* added banner

* added bottom logo + icon

* fix up sidebar

* fix up paddings

* fix shadow bottom

* docs: add table of content (#8445)

* add toc types

* implement toc functionality

* finished toc redesign

* redesigned table of content

* mobile fixes

* truncate text in toc

* mobile fixes

* merge fixes

* implement redesign

* add hide sidebar

* add menu action item

* finish up hide sidebar design

* implement redesign in resources

* integrate in api reference

* integrate changes in ui

* fixes to api reference scrolling

* fix build error

* fix build errors

* fixes

* fixes to sidebar

* general fixes

* fix active category not closing

* fix long titles
This commit is contained in:
Shahed Nasser
2024-08-15 12:13:13 +03:00
committed by GitHub
parent 4cb28531e5
commit b4f3b8a79d
157 changed files with 5080 additions and 2010 deletions
+12
View File
@@ -1302,6 +1302,15 @@ __metadata:
languageName: node
linkType: hard
"@medusajs/icons@npm:^1.2.2":
version: 1.2.2
resolution: "@medusajs/icons@npm:1.2.2"
peerDependencies:
react: ^16.x || ^17.x || ^18.x
checksum: 610117b959ddbd68f927caa12e70fb5fc849e8c68a25ca38f4d137aca1363f36552455aa83669847bd42753cccf36ad57b82f9bd5be7794e5b23af1046f78967
languageName: node
linkType: hard
"@medusajs/icons@npm:preview":
version: 1.2.2-preview-20240812060602
resolution: "@medusajs/icons@npm:1.2.2-preview-20240812060602"
@@ -7274,6 +7283,7 @@ __metadata:
react-transition-group: ^4.4.5
react-uuid: ^2.0.0
rimraf: ^5.0.1
slugify: ^1.6.6
tailwind: "*"
tailwindcss: ^3.3.3
tsc-alias: ^1.8.7
@@ -14692,6 +14702,7 @@ turbo@latest:
version: 0.0.0-use.local
resolution: "types@workspace:packages/types"
dependencies:
"@medusajs/icons": ^1.2.2
"@types/node": ^20.11.20
eslint-config-docs: "*"
rimraf: ^5.0.5
@@ -14790,6 +14801,7 @@ turbo@latest:
react-day-picker: ^8.10.0
react-docgen: ^7.0.1
react-dom: 18.2.0
rehype-slug: ^6.0.0
remark: ^14.0.3
tailwind: "*"
tailwindcss: 3.3.3