Alexey Pyltsyn
d25a54f61d
chore(v2): prepare v2.0.0.alpha-69 release ( #3808 )
...
* chore(v2): prepare v2.0.0.alpha-69 release
* v2.0.0-alpha.69
2020-11-24 13:51:15 +03:00
Alexey Pyltsyn
a9e27da09f
chore(v2): upgrade Infima to v0.2.0-alpha.18 ( #3807 )
2020-11-24 13:00:30 +03:00
Alexey Pyltsyn
9ca85cfff6
fix(v2): remove aria-hidden attr from anchor link of heading ( #3806 )
2020-11-24 00:53:39 +03:00
Bartosz Kaszubowski
d79d5ba898
fix(v2): ensure that the react-router and *-dom version matches ( #3794 )
2020-11-21 18:50:25 +03:00
Bartosz Kaszubowski
a4e0992b27
fix(v2): fix missing logo in dark theme when darkSrc was not set ( #3784 )
2020-11-19 15:34:23 +01:00
Sébastien Lorber
d1e51f7e3b
chore(v2): prepare v2.0.0.alpha-68 release ( #3779 )
...
* changelog
* add alpha 68 docs
* add missing publishConfig
* update publish doc + v1 private package system
* add version files
* v2.0.0-alpha.68
2020-11-18 20:02:06 +01:00
Alexey Pyltsyn
0331c55850
chore(v2): upgrade Infima to v0.2.0-alpha.17 ( #3777 )
2020-11-18 16:35:51 +01:00
Alexey Pyltsyn
7d540a87d7
refactor(v2): adjust dark mode toggle to site style ( #3774 )
2020-11-18 16:29:13 +01:00
Alexey Pyltsyn
61fd53f7c0
fix(v2): increase stability of hideable navbar ( #3733 )
...
* fix
* fix(v2): increase stability of hideable navbar
* Fix bug after reload
* Remove state for hash
2020-11-18 16:17:04 +01:00
Sébastien Lorber
abcd8cefd6
feat(v2): @docusaurus/theme-common ( #3775 )
...
* create base @docusaurus/theme-common package + fix Webpack client export aliases issue shadowing other theme-common package
* Move theme-classic/src/utils code to new @docusaurus/theme-common package
* add prettierignore
* fix bad test location for getDocusaurusAliases()
2020-11-18 16:00:51 +01:00
Alexey Pyltsyn
47a4b5b55e
refactor(v2): make accessible anchor links from keyboard ( #3764 )
...
* refactor(v2): make accessible acnhor links from keyboard
* Add transition
2020-11-17 03:06:53 +03:00
Alexey Pyltsyn
1dac7e33f7
fix(v2): add support for interleaving Markdown in code blocks ( #3749 )
...
* fix(v2): add support for interleaving Markdown in code blocks
* Improve check for array
2020-11-17 02:18:45 +03:00
Alexey Pyltsyn
30d7408815
refactor(v2): various markup improvements ( #3763 )
2020-11-17 02:15:22 +03:00
Alexey Pyltsyn
153d2d46e6
fix(v2): add support for prefers-reduced-motion in hideable sidebar ( #3739 )
...
* chore(v2): downgrade babel-plugin-dynamic-import-node to 2.3.0
* fix(v2): add support for prefers-reduced-motion in hideable sidebar
2020-11-16 19:44:46 +01:00
Bartosz Kaszubowski
3ad453932f
refactor(v2): introduce Logo component, remove useLogo hook ( #3745 )
...
* fix(v2): refactor theme-classic logo, remove useLogo hook
* Logo component small code tweaks
* Logo component returned type fix
2020-11-16 15:03:10 +01:00
Bartosz Kaszubowski
9d90e896f0
feat(v2): add ThemedImage component ( #3730 )
...
* feat(v2): add ThemedImage component
* add themed image problematic example
* refactor, SSR fix, openness about extending img tag, docs update
* refactor themed-image
* update themed image doc
Co-authored-by: slorber <lorber.sebastien@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-11-13 14:29:45 +01:00
Alexey Pyltsyn
487a9f98e4
feat(v2): introduce new minification of CSS bundle ( #3716 )
...
* feat(v2): optimize CSS bundle
* Move to separate preset
* Move custom scrollbar styles to separate class
* Cleanup styles
* Remove unactual styles
* Various CSS optimizations, cleanup styles for NProgress
* Add ability to back to old way of minifying CSS
* chore(v2): downgrade babel-plugin-dynamic-import-node to 2.3.0
* Use env var for back to simple CSS minifier
* remove unnecessary typing [skip-ci]
* Remove missing dep
* Update website/docs/cli.md
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-11-13 14:06:24 +01:00
Alexey Pyltsyn
702fc15c8e
fix(v2): add support for non-ASCII chars in anchor link scroll ( #3724 )
2020-11-12 14:28:48 +01:00
Alexey Pyltsyn
6cccbf5f7a
fix(v2): add thin scrollbar to proper element in TOC ( #3726 )
2020-11-12 12:45:47 +01:00
Alexey Pyltsyn
049634a927
chore(v2): upgrade dependencies ( #3727 )
...
* chore(v2): upgrade dependencies
* Update loader-utils
* Update MDX packages
* Update Babel packages
* Various updates
2020-11-12 12:30:14 +01:00
Alexey Pyltsyn
8c9f9487d6
refactor(v2): render all tab panels at once ( #3706 )
...
* refactor(v2): render all tab panels at once
* Add ability to choose way to load tabs
2020-11-09 17:06:07 +01:00
Alexey Pyltsyn
46dba2f3c6
chore(v2): upgrade Infima to v0.2.0-alpha.15 ( #3712 )
...
* Move custom scrollbar styles to separate class
* chore(v2): upgrade Infima to v0.2.0-alpha.15
2020-11-08 01:18:39 +03:00
Alexey Pyltsyn
86be6cec1e
chore(v2): upgrade Infima to v0.2.0-alpha.14 ( #3707 )
2020-11-06 17:32:33 +01:00
Anh Hong
f8a6b391cd
refactor(v2): improve regex matching code-block title ( #3685 )
2020-11-05 12:33:08 +01:00
Alexey Pyltsyn
7c7e0c24f6
Revert "refactor(v2): improve regex matching code-block title ( #3671 )" ( #3681 )
...
This reverts commit 32425497f7
.
2020-11-04 12:52:52 +01:00
Artem Kovalov
5aca1d739c
fix(v2): navbar dropdown crash when item.to is undefined ( #3662 )
...
* Fix for undefined path with dropdown menu in Navbar
* Filter out 'href' links and check for undefined in utils
* Minot syntax fixes
* allow isSamePath to accept undefined values
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2020-11-02 19:15:43 +01:00
Bartosz Kaszubowski
3ebe888244
feat(v2): add additional wrapper class to blog pages ( #3674 )
2020-11-02 18:26:31 +01:00
Anh Hong
32425497f7
refactor(v2): improve regex matching code-block title ( #3671 )
2020-11-02 17:03:32 +01:00
Nate Giraudeau
398af747f6
fix(v2): make scrollbar styles consistent ( #3669 )
2020-11-02 16:41:50 +01:00
Alexey Pyltsyn
52e7511869
fix(v2): make optional title for footer links column ( #3666 )
2020-10-31 17:57:11 +01:00
Alexey Pyltsyn
cf99862d29
refactor(v2): clean up code blocks ( #3654 )
2020-10-29 09:27:44 +01:00
Alexey Pyltsyn
f085560b66
fix(v2): do not set height for mobile dropdown ( #3647 )
2020-10-28 17:52:44 +01:00
Alexey Pyltsyn
9f66545c8c
refactor(v2): make code blocks accessible from keyboard ( #3649 )
2020-10-28 17:51:21 +01:00
Alexey Pyltsyn
33f94c5d8a
fix(v2): add landmark for skip to content link ( #3650 )
2020-10-28 11:22:15 +01:00
Alexey Pyltsyn
9837299d97
refactor(v2): remove focus outline from mouse users ( #3626 )
...
* refactor(v2): remove focus outline from mouse users
* Improvements
* Cleanup
2020-10-27 15:08:51 +03:00
Alexey Pyltsyn
c91027f2fa
fix(v2): disable tabbing on hidden doc sidebar ( #3627 )
2020-10-26 16:15:49 +01:00
Alexey Pyltsyn
69bf68ae57
chore(v2): migrate hapi/joi to joi ( #3638 )
2020-10-26 15:18:51 +01:00
Alexey Pyltsyn
a64a34f077
feat(v2): add skip to content link ( #3640 )
2020-10-26 15:15:50 +01:00
Hai
85971fd1be
fix(v2): wrap code blocks on print ( #3637 )
2020-10-25 20:59:08 +03:00
Alexey Pyltsyn
14cdd72ae4
feat(v2): add ability to hide doc sidebar ( #3615 )
...
* feat(v2): add ability to hide doc sidebar
* Use relative imports
2020-10-22 11:23:15 +02:00
Alexey Pyltsyn
ce06e10e24
fix(v2): animate dropdown properly ( #3603 )
...
* fix(v2): animate dropdown properly
* Simplify logic
2020-10-21 16:19:16 +02:00
Sam Zhou
003b457c88
fix(v2): Added back support for optional logo field in theme-classic navbarConfig ( #3611 )
...
* fix(v2): Added back support for optional logo field in theme-classic navbarConfig
* fix tests
* Revert to default to {} in useLogo approach
2020-10-21 15:35:51 +02:00
Rhys Arkins
6930e91508
fix: add repository metadata to all packages ( #3613 )
...
* fix: add repository metadata to all packages
* empty commit for cla bot
* move validate-package-json.test.ts + add glob devDependency
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2020-10-21 15:05:01 +02:00
Sébastien Lorber
14447707c2
chore(v2): prepare v2.0.0.alpha-66 release ( #3608 )
...
* release alpha 66
* v2.0.0-alpha.66
2020-10-19 19:44:26 +02:00
Alexey Pyltsyn
e5448d9a96
fix(v2): fix error with required href attr of link in mobiles ( #3607 )
2020-10-19 17:17:57 +02:00
Alexey Pyltsyn
6cfadb89eb
fix(v2): make dropdown button clickable with mouse ( #3602 )
2020-10-19 16:41:18 +02:00
Sébastien Lorber
56ce98c63d
fix(v2): toc highlighting issues ( #3601 )
2020-10-16 22:54:03 +02:00
Sébastien Lorber
e4c1626106
feat(v2): blog sidebar ( #3593 )
...
* blog sidebar POC
* polish blog post sidebar
* add doc for blogSidebarCount
* Update packages/docusaurus-theme-classic/src/theme/BlogSidebar/styles.module.css
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-10-16 19:12:05 +02:00
Alexey Pyltsyn
da6268911c
fix(v2): remove event listeners on Tabs component unmount ( #3599 )
2020-10-16 18:15:48 +02:00
Alexey Pyltsyn
8f5c632cdf
refactor(v2): various dropdown improvements ( #3585 )
...
* refactor(v2): various dropdown improvements
* Remove invalid attr from markup
* Better naming
* Update types
* Fix
* Remove attr position correctly
* Test
* Add test
2020-10-16 16:41:30 +02:00