Joshua Chen
5f003bcabd
feat(theme-classic): allow passing tab label and default value through TabItem ( #5442 )
...
* Implement feature
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Dogfood edge case
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Correct keydown handling
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Update index.tsx
* Update markdown-features-tabs.mdx
* Update markdown-features-tabs.mdx
* polish tabs doc
* Update markdown-features-tabs.mdx
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-09-01 12:44:37 +02:00
Joshua Chen
6c21061e34
refactor(website): convert website to TypeScript ( #5328 )
...
* Initial work
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Minor changes
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Fix error
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* This looks better
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Address suggestions
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Better style
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Better style
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Better context typing
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Update edit URL
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
* Minor refactor
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
2021-08-11 11:38:33 +02:00
Sébastien Lorber
b3e89d2a86
feat: docusaurus.new + improved StackBlitz playground ( #5235 )
...
* Upgrade playground shortcut domain to docusaurus.new
* update generateExamples
* update generateExamples + re-generate with stackblitz config
* test
* test
* test
* test
* test
* update examples
* upgrade lockfile
* fix yarnlock
* fix yarnlock
2021-07-28 19:27:58 +02:00
Sébastien Lorber
700a82aefe
feat: multiple playground choices ( #5207 )
...
* poc of using netlify functions for playground redirections
* push
* cleanup
* restore files
* fix netlify functions?
* fix netlify functions?
* implement serverless functions for playgrounds with persistent cookie
* move new.docusaurus.io to monorepo packages
* move new.docusaurus.io to monorepo packages
* lockfile
* push
* catch-all redirect
* Translate/Interpolate: add better error message if not used correctly
* Add /docs/playground page
* Add some additional doc
2021-07-22 21:10:36 +02:00
Alexey Pyltsyn
7dc9fe839b
chore(v2): update infima to alpha 26 ( #5001 )
2021-06-18 15:03:51 +02:00
Alexey Pyltsyn
869f4bf206
fix(v2): fix minor a11y issues ( #4906 )
2021-06-09 13:33:08 +02:00
Lisa Chandra
458af077ae
feat(v2): new showcase page with tags and filters ( #4515 )
...
* docs: add ToggleTags component for showcase
* docs: add filter functionality
* docs: remove redundant variables
* docs: use react state for selectedTags
* docs: add control to tag checkbox
* docs: use useMemo for filteredUsers
* docs: change names of tags
* revert name tag changes
* polish the showcase page
* cleanup tags on the users list
* minor polish
* add querystring filtering
* typo
* Add title/arialabel to emulate tooltip
Co-authored-by: Javid <singularity.javid@gmail.com>
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-04-22 17:15:28 +02:00
Sébastien Lorber
1734975f2f
feat(v2): Add Interpolate / interpolate APIs + complete theme translations ( #4295 )
...
* WIP: refactor team profile cards
* Add Interpolate / interpolate APIs
* Add interpolate snapshot test
* comments
* fix Interpolate TS types
* Interpolate should handle numbers and other JS types
* translate BlogPostItem
* interpolate translate() fn + add translations for blog post tag header
* localize the LastUpdated component
* translate DocVersionSuggestions
* fix test
* add some new translations
* Add node script to easily update the theme default translations
* fix translation extractor bug due to translate() dynamic values
* use ICU placeholder syntax
* refactor month key
* order
* team page translation improvements
* Add interpolation doc + improve i18n doc
2021-02-26 13:19:51 +01:00
Alexey Pyltsyn
30d7408815
refactor(v2): various markup improvements ( #3763 )
2020-11-17 02:15:22 +03:00
Sébastien Lorber
ee2d1b42f6
docs(v2): add myself to /team page + add TeamProfileCard component ( #3145 )
...
* add myself to /team page + add TeamProfileCard component
* apply col classes from parent to make TeamProfileCard more reusable
2020-07-28 20:18:15 +02:00
Alexey Pyltsyn
1f00d15c74
chore(v2): fix code style (revert previous changes)
2020-04-05 17:38:12 +03:00
Alexey Pyltsyn
6965a668cd
chore(v2): fix code style
2020-04-05 17:30:59 +03:00
Yangshun Tay
b07507c9cc
chore(v2): upgrade devDependencies ( #2538 )
...
* chore(v2): upgrade devDependencies
* chore(v2): upgrade devDependencies
* chore: prettier
2020-04-05 19:07:44 +08:00
Alexey Pyltsyn
c299baa80b
fix(v2): various improvements for accessibility ( #2480 )
2020-03-29 23:35:58 +08:00
Alexey Pyltsyn
3052ef14e5
fix(v2): various improvements for accessibility ( #2442 )
2020-03-23 11:46:57 +08:00
Yangshun Tay
32c1a92b17
chore: yearless copyright headers for source code ( #2320 )
...
* chore: yearless copyright headers for source code
* update snapshots
2020-02-25 23:12:28 +08:00
Alexey Pyltsyn
1f0eb37e19
fix(v2): add syntax highlight to generated colors ( #2114 )
2019-12-10 12:50:35 -08:00
Alexey Pyltsyn
172f07116d
fix(v2): add missing hyphen in color generator ( #2106 )
2019-12-09 22:08:26 +07:00
Yangshun Tay
d5919fd962
feat(v2): add color generator for primary colors ( #2104 )
2019-12-09 02:10:38 -08:00
endiliey
bd5bdb91f7
chore: add missing facebook copyright header
2019-11-27 16:50:20 +07:00
Alexey Pyltsyn
79f3b9562c
fix(v2): fix browser window menu icon on smaller screen ( #2002 )
2019-11-16 13:09:30 -08:00
Alexey Pyltsyn
146a3019fb
fix(v2): fix browser window background ( #1936 )
2019-11-04 08:35:54 +08:00
Yangshun Tay
ffbc7a37f8
refactor(v2): move source files to be under website/src directory ( #1609 )
...
* refactor(v2): move source files to be under website/src directory
* misc: rename src constant
2019-06-15 09:59:23 -07:00