docusaurus/packages/docusaurus-theme-bootstrap/src/theme
Alexey Pyltsyn 9536ef900d
feat(v2): redesign mobile UX: inline TOC + doc sidebar in main menu (#4273)
* feat(v2): mobile TOC

* Bug fixes and various improvements

* Redesign

* extract TOCCollapsible component

* TS improvements

* Assign sidebar name directly to the doc route => no need for either permalinkToSidebar or GlobalData

* revert changes to useWindowSize, fix FOUC issues

* extract DocSidebarDesktop component

* remove now useless menu infima classes

* TOCHeadings => rename + remove unused onClick prop

* Extract DocSidebarItem

* minor renaming

* replace GlobalData usage by a React teleport system to render in the navbar mobile sidebar menu directly from the DocPage component

* useWindowSize => simulate SSR size in dev to make FOUC issues more obvious

* fix remaining sidebar layout shift

* update docs snapshots

* remove unused code translations

* remove unused code translations

* fix minor update-code-translations bug

* Add more build-size paths to watch

* Restyle back button

* Add  missing`menu` class

* extract useShallowMemoizedObject

* fix routes tests + better routes formatting

* use Translate api for labels

* use Translate api for labels

* Update translations

* Improve dark mode support for back button

* Merge branch 'master' into lex111/inline-color-code

# Conflicts:
#	packages/core/dist/css/default-dark/default-dark-rtl.min.css
#	packages/core/dist/css/default-dark/default-dark.min.css
#	packages/core/dist/css/default/default-rtl.min.css
#	packages/core/dist/css/default/default.min.css

* replace useCollapse by new useCollapsible

* Cleanup and use clean-btn for TOCCollapsible button

* Make TOC links clickable over full width

* Cleanup

* fix uncollapsible sidebar that can be collapsed + create <Collapsible> component

* dependency array typo

* rollback sidebars community commit typo

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-07-09 16:50:38 +02:00
..
BlogListPage feat(v2): add option for blog meta title #3571 2020-10-12 13:23:54 +02:00
BlogListPaginator feat(v2): migrate bootstrap components to ts (#3496) 2020-09-29 13:16:39 +02:00
BlogPostItem feat(v2): migrate bootstrap components to ts (#3496) 2020-09-29 13:16:39 +02:00
BlogPostPage feat(v2): migrate bootstrap components to ts (#3496) 2020-09-29 13:16:39 +02:00
BlogPostPaginator feat(v2): migrate bootstrap components to ts (#3496) 2020-09-29 13:16:39 +02:00
BlogTagsListPage feat(v2): migrate bootstrap components to ts (#3496) 2020-09-29 13:16:39 +02:00
BlogTagsPostsPage feat(v2): migrate bootstrap components to ts (#3496) 2020-09-29 13:16:39 +02:00
CodeBlock chore(v2): Fix linter warnings (#4442) 2021-03-17 17:28:42 +01:00
DebugLayout fix(v2): correct typo in metas generated for Twitter cards (#3900) 2020-12-10 17:09:20 +01:00
DocItem fix(v2): correct typo in metas generated for Twitter cards (#3900) 2020-12-10 17:09:20 +01:00
DocPage feat(v2): redesign mobile UX: inline TOC + doc sidebar in main menu (#4273) 2021-07-09 16:50:38 +02:00
DocPaginator feat(v2): migrate bootstrap components to ts (#3496) 2020-09-29 13:16:39 +02:00
DocSidebar feat(v2): migrate bootstrap components to ts (#3496) 2020-09-29 13:16:39 +02:00
Footer chore(v2): Fix linter warnings (#4442) 2021-03-17 17:28:42 +01:00
Layout fix(v2): correct typo in metas generated for Twitter cards (#3900) 2020-12-10 17:09:20 +01:00
MDXComponents chore(v2): Fix linter warnings (#4442) 2021-03-17 17:28:42 +01:00
MDXPage refactor(v2): add missing theme-classic types (#4385) 2021-03-12 12:19:19 +01:00
Navbar chore(v2): Fix linter warnings (#4442) 2021-03-17 17:28:42 +01:00
TOCInline chore(v2): Fix linter warnings (#4442) 2021-03-17 17:28:42 +01:00
TabItem feat(v2): migrate bootstrap components to ts (#3496) 2020-09-29 13:16:39 +02:00
Tabs fix(v2): remove event listeners on Tabs component unmount (#3599) 2020-10-16 18:15:48 +02:00
ThemedImage style(v2): reduce number of ESLint warnings (#4993) 2021-06-24 18:12:48 +02:00
hooks feat(v2): add ThemedImage component (#3730) 2020-11-13 14:29:45 +01:00
NotFound.tsx feat(v2): migrate bootstrap components to ts (#3496) 2020-09-29 13:16:39 +02:00
ThemeContext.ts feat(v2): add ThemedImage component (#3730) 2020-11-13 14:29:45 +01:00