Sébastien Lorber
4f448bd54b
chore(v2): prepare v2.0.0.alpha-62 release ( #3359 )
...
* Add alpha 62
* v2.0.0-alpha.62
2020-08-28 19:17:56 +02:00
Sam Zhou
aa9212cb45
feat(v2): Provide type definitions for remaining theme-classic components ( #3356 )
2020-08-28 17:45:51 +02:00
Sam Zhou
bd9b6618c1
feat(v2): Provide typing to most of the theme-classic components ( #3348 )
...
* feat(v2): Provide typing to most of the theme-classic components
* Expose type to the end users and dogfood it in v2 website
2020-08-28 12:06:37 +02:00
Sam Zhou
d299b99631
feat(v2): Provide docs plugin typing ( #3328 )
2020-08-27 11:40:14 +02:00
Sam Zhou
b38f562322
chore(v2): Define type for markdown right table of contents ( #3306 )
2020-08-20 17:57:19 +02:00
Sam Zhou
5fdf96c552
feat(v2): Provide blog plugin theme typing ( #3267 )
...
* feat(v2): Provide blog plugin theme typing
* Update packages/docusaurus-plugin-content-blog/index.d.ts
* Update packages/docusaurus-plugin-content-blog/index.d.ts
* Update packages/docusaurus-plugin-content-blog/index.d.ts
* Update packages/docusaurus-plugin-content-blog/index.d.ts
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2020-08-17 18:25:02 +02:00
Ali Hosseini
ee6dee72b7
fix(v2): navbar dropdown opened with tab, not closing on click outside ( #3240 )
...
* package use-onclickoutside added
* fix:dropdown toggle updated and tab behavior fixed
* fix:variable name and type checker on drop down updated
* fix: optional chaining added to dropdown toggle function
* fix: package.json problem fixed and type of element updated
* fix:type problem fixed
2020-08-11 15:54:33 +02:00
Anshul Goyal
181a6174c7
fix(v2): relax URI validation ( #3227 )
...
* relax URI validation
* add regex
* add test
* fix linting error
* fix formatting
* use URL rather than regex
2020-08-07 22:11:19 +02:00
Sébastien Lorber
48b996773c
chore(v2): prepare v2.0.0.alpha-61 release ( #3182 )
...
* alpha 61 release
* doc prettier
* v2.0.0-alpha.61
2020-08-01 15:24:46 +02:00
Drew Alexander
53b28d2bb2
feat(v2): dark mode toggle customization ( #3127 )
...
* Add dark/light style fields to config
* Update yarn.lock
* Remove css content
* Add documentation
* Add icon fields to toggle component
* Add config validation fields
* Remove changes from docusaurus.config
* Add unicode documentation example
* Fix default values
* Add color mode config default
* Add lodash to theme-classic
* Change themeConfigSchema name to match other packages
* Add themeConfig color-mode tests
* Add default config merge function
* Remove unneeded object merging
* Add more documentation
2020-07-31 15:39:12 +02:00
Bucky Maler
e9a2b1d9c6
fix(v2): inability for users to pin their docusaurus version ( #3162 )
2020-07-30 14:44:39 +02:00
Sébastien Lorber
1083454dbd
chore(v2): prepare v2.0.0.alpha-60 release ( #3154 )
...
* alpha 60
* v2.0.0-alpha.60
* update publish guide
2020-07-29 17:45:54 +02:00
Sébastien Lorber
0eb9c207cf
chore(v2): v2.0.0.alpha-59 release ( #3114 )
...
* alpha 59 release preparation
* v2.0.0-alpha.59
2020-07-24 16:22:51 +02:00
Sébastien Lorber
9265de982b
chore(v2): refactor scripts + add theme-classic watchmode ( #2998 )
2020-07-01 18:30:44 +02:00
Sam Zhou
71b5c2712b
chore(v2): Merge devDependencies in theme-classic ( #2996 )
2020-06-26 09:31:47 +08:00
Sam Zhou
5ccd24cc1f
feat(v2): Support swizzling TypeScript components ( #2671 )
...
* feat(v2): Support swizzling TypeScript components
* Add tsc --noEmit to tsc script in theme-classic
Now everything can pass the type checker! (although still a lot of any)
* Add tsconfig and types.d.ts to website
Improve developer experience.
As an example, I converted NotFound to tsx
* Apply type annotation suggestions
* Do not fallback to `getThemePath` if getTypeScriptThemePath is undefined
* Fix tsc
* Add module declaration for @theme-original/*
* Move babel cli to root package.json
2020-06-25 16:07:30 +02:00
Anshul Goyal
81d855355e
feat(v2): option and config validation life cycle method for official plugins ( #2943 )
...
* add validation for blog plugin
* fix wrong default component
* fix test and add yup to package.json
* remove console.log
* add validation for classic theme and code block theme
* add yup to packages
* remove console.log
* fix build
* fix logo required
* replaced yup with joi
* fix test
* remove hapi from docusuars core
* replace joi with @hapi/joi
* fix eslint
* fix remark plugin type
* change remark plugin validation to match documentation
* move schema to it's own file
* allow unknown only on outer theme object
* fix type for schema type
* fix yarn.lock
* support both commonjs and ES modules
* add docs for new lifecycle method
2020-06-24 20:08:16 +02:00
slorber
16ba6e54b6
v2.0.0-alpha.58
2020-06-18 14:02:26 +02:00
Alexey Pyltsyn
dd1ef71aac
chore(v2): replace Clipboard with copy-text-to-clipboard ( #2900 )
...
* chore(v2): replace Clipboard with copy-text-to-clipboard
* Remove clipboard from yarn.lock
2020-06-07 13:48:28 +08:00
Alexey Pyltsyn
afe9ff91a4
chore(v2): replace classnames with clsx ( #2895 )
2020-06-07 13:40:06 +08:00
Alexey Pyltsyn
d8ebe8b2e4
v2.0.0-alpha.56
2020-05-27 20:18:28 +03:00
Alexey Pyltsyn
aaa8423c35
chore(v2): upgrade Infima to 0.2.0-alpha.12 ( #2820 )
2020-05-27 23:19:18 +08:00
Sam Zhou
33b60c6ba4
fix(v2): Consistently use 10.15.1 as the minimum required node version ( #2819 )
2020-05-27 23:18:48 +08:00
Sam Zhou
9001c49880
fix(v2): Properly declare peerDependencies ( #2806 )
2020-05-24 12:48:36 +08:00
Alexey Pyltsyn
d94a549cfb
v2.0.0-alpha.55
2020-05-19 13:55:03 +03:00
Alexey Pyltsyn
4f38d78118
chore(v2): upgrade Infima to 0.2.0-alpha.11 ( #2773 )
2020-05-19 12:40:20 +03:00
Alexey Pyltsyn
93b39e674f
chore(v2): upgrade Infima to 0.2.0-alpha.10 ( #2729 )
...
* chore(v2): upgrade Infima to 0.2.0-alpha.10
* Changelog
2020-05-10 21:03:45 +08:00
Alexey Pyltsyn
753d117025
v2.0.0-alpha.54
2020-04-28 09:49:27 +03:00
Alexey Pyltsyn
d90fdb04d5
v2.0.0-alpha.53
2020-04-27 16:38:33 +03:00
Alexey Pyltsyn
7359945f52
v2.0.0-alpha.52
2020-04-27 16:30:15 +03:00
Alexey Pyltsyn
c9c5aedcb5
v2.0.0-alpha.51
2020-04-27 14:44:56 +03:00
Yangshun Tay
1d8cc4b10f
chore(v2): upgrade Infima ( #2669 )
...
* chore(v2): upgrade Infima
* Make proper classes for active items
* upgrade Infima to v0.2.0-alpha.9
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-04-27 10:50:28 +08:00
Alexey Pyltsyn
379d3e0d23
chore(v2): upgrade prism-react-renderer to latest version ( #2666 )
2020-04-27 00:50:06 +08:00
Alexey Pyltsyn
c207c3ba31
v2.0.0-alpha.50
2020-04-02 21:00:47 +03:00
Alexey Pyltsyn
9cff1bb9e4
chore(v2): upgrade deps ( #2508 )
2020-04-02 19:05:03 +08:00
Yangshun Tay
409f169379
v2.0.0-alpha.49
2020-04-01 16:00:14 +08:00
Yangshun Tay
f6d7e42717
chore(v2): v2.0.0-alpha.49 ( #2488 )
2020-04-01 15:57:42 +08:00
Alexey Pyltsyn
8fe203d529
chore(v2): upgrade MDX to 1.5.8 ( #2479 )
2020-03-29 23:34:31 +08:00
Alexey Pyltsyn
f0941a9ff6
chore(v2): upgrade remark-admonitions for a11y fixes ( #2477 )
2020-03-29 12:10:26 +08:00
Alexey Pyltsyn
38bb8c4ced
v2.0.0-alpha.48
2020-03-09 01:46:10 +03:00
Alexey Pyltsyn
1ed698d1fb
fix(v2): add missing dependency and Noop component ( #2386 )
...
* fix(v2): add missing prismjs dependency
* fix(v2): proper import Noop component
2020-03-09 01:35:56 +03:00
Alexey Pyltsyn
1dc1f21e91
v2.0.0-alpha.47
2020-03-08 23:40:44 +03:00
Alexey Pyltsyn
9d45993da2
v2.0.0-alpha.46
2020-03-08 23:29:42 +03:00
Alexey Pyltsyn
bbb465be02
v2.0.0-alpha.45
2020-03-08 23:07:13 +03:00
Yangshun Tay
1e09feb2db
v2.0.0-alpha.44
2020-03-08 23:45:30 +08:00
Alexey Pyltsyn
5226767caf
feat(v2): add support specify new languages for Prism ( #2250 )
...
* feat(v2): add support specify new languages for Prism
* Do It Right
* More fix
* Fix up!
* Fixes
* Move to dev dependencies
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2020-03-08 22:13:02 +08:00
Alexey Pyltsyn
31b0ce6e27
chore(v2): upgrade Infima and remark-admonitions ( #2372 )
...
* chore(v2): upgrade Infima and remark-admonitions
* Update algolia.css
2020-03-08 00:10:13 +08:00
Yangshun Tay
3056479ed2
v2.0.0-alpha.43
2020-02-18 18:54:39 +08:00
Yangshun Tay
8a96e0bff6
v2.0.0-alpha.42
2020-02-18 18:51:41 +08:00
Yangshun Tay
3ba753922e
Revert "v2.0.0-alpha.42"
...
This reverts commit d48200be7d .
2020-02-18 18:47:36 +08:00